Questions tagged as 'chart.js'

1
answer

Angular 6 does not load Jquery when browsing between views

I am implementing a template for a dashboard that has jQuery, chart js etc. as a dependency. Everything went well until the time to implement the routes because now when I browse through them I get the error Uncaught TypeError: Can not read prop...
asked by 07.10.2018 / 20:14
1
answer

Chart Js, multiple lines in a label [closed]

Requirement To be able to insert two lines in a label, that is to say that when you press "HERE TWO LINES" the two lines you assign are activated or deactivated. Image: Expected link var ctx = document.getEleme...
asked by 09.06.2017 / 14:27
1
answer

Change color of border in Chartjs

I currently have this code to show a graphic and I want to change the color of the border. How can I do it? <canvas id="chart" width="200px" height="200px"></canvas> <script type="text/javascript"> $(document).ready(funct...
asked by 23.08.2018 / 17:49
0
answers

Charts.js get double value in the tooltip

I want to get 2 values in the same column of the graph, the amount of sales and the amount of money they added, see images ... I tried something like that but I know it's wrong, although it's the idea: new Chart(document.getElementById("sal...
asked by 16.03.2018 / 15:43
1
answer

Plugins Chart.js display the values in the bar chart

Hi, I'm working with Chart.js to show different graphs, in the bar graph that the one that brings me the percent fulfilled I need to show the value on top of the bar, someone could help me, I think we have to work in the options with onComplete...
asked by 14.11.2017 / 16:51
1
answer

Jquery graphics that have thousands of formations on the x and y axes

I would like to know if anyone knows of any plugin or library to make graphics that place the numerical values in thousands formats. I would really appreciate your help     
asked by 23.05.2017 / 07:32
1
answer

Graph with Hours and Minutes

Good morning, I am trying to make a graph that shows the total hours and minutes of classes given by a teacher per month. I have only managed to show the hours on the line but I would like the minutes to go out as well. The query is done in PHP...
asked by 10.01.2017 / 10:52
1
answer

How to make the label of the X axis in ChartJs look complete and also horizontal

I have a problem showing the horizontal labels in the chartjs, try changing the size of the letter and obviously reducing it, but what I really want is that apart from the size being reduced, the label also fits in two rows of be necessary. And...
asked by 16.06.2017 / 16:09
2
answers

how to display various data in a label of charts.js?

in a label I want to put the dates that bring me what I received php ... the problem is that it only shows me a date and does not cover all the dates in label .. CODE $.ajax({ type: 'POST', url: 'api/grafic...
asked by 20.02.2017 / 01:34
0
answers

Using JSON of FUSIONTABLES as input of Chart.js

I'm trying to work with the fusiontable responses to build a chart.js. How can I use the JSON to create it if I have this JSON as an answer? { "kind": "fusiontables#sqlresponse", "columns": ["KILOS", "REMISION"], "rows": [...
asked by 05.12.2018 / 21:41