Relative Content

Tag Archive for chart.js

Remove the label in the black selection [duplicate]

This question already has answers here: Chartjs hide dataset legend v3 (2 answers) Closed 40 mins ago. Goal: Remove the icon, and the text (black selection from the picture). I want only to show the bar chart and no interaction with the cursor. Problem: is it possible to do it based on the source code? […]

How to create simple linear chart?

I try to create a simple chart with several lines and common axis. Lines are given by sets of points, points with x and y – integers. Fg Line 1 is [{x: 10, y: 10},{x: 20, y: 15},{x: 30, y: 10},{x: 40, y: 12},{x: 50, y: 10}] and Line 2 is [{x: 10, y: 10},{x: 17, y: 11},{x: 22, y: 28},{x: 35, y: 44},{x: 53, y: 16}]. Values of x are diffrent. I’d like to have one chart with 2 lines. Each line should have Bezier approximation. The range of x axis should be defined, fg from 10 to 53 in the example above.