Good morning ! We set a task requiring the implementation of graphs. Tell me by your experience the most juicy and cool library, pozhst

1 answer 1

Of the most common:

  • Chart.js - from pluses, it is required to connect only 1 js file so that everything works right away. There are not so many graphs, but for most purposes there is enough
  • Highcharts - a large number of different graphs and very flexible settings
  • ECharts - the gloomy creation of the Chinese genius with a huge number of various graphs

But in general, you can study a couple of reviews of libraries here or here.

  • And tell me, please. In Chart.js, can I enter my info into this pop-up black field? In type = 'bar' - Ivan Zagorskiy
  • @IvanZagorskiy what kind of specific field is it talking about, can you give an example? - Alexander Demichev
  • ibb.co/dbLuFx Following the link laid out - Ivan Zagorskiy
  • If I understand correctly, you are interested in something like prnt.sc/ikvzkt This property is datasets.label code: `const barChartData = {labels: dataSets.labels, datasets: [{label: 'There could be anything', backgroundColor: getRandomColor ( ), data: dataSets.sets}]}; `and then it in Chart.data. Found an example jsfiddle.net/rch183nz/1 - Alexander Demichev
  • well, then the title of the entire block of the chart will change - Ivan Zagorskiy