Questions tagged as 'chart.js'

0
answers

Someone knows how to solve this problem with char.js

with a button I make a graph with the library char.js , but when I want to return to traffic I get an error: I'm trying to solve with this code but it does not work. $('#myChart_2').remove(); $('#contenedor_grafico_2').append(...
asked by 17.05.2018 / 00:01
0
answers

Chartjs with MYSQL and PHP

I followed this tutorial link to show graphics, I went well with the database and then to change to use with my database worked perfect in the same way, until one of the fields had the term "sugar" and the data file. php does not show anything...
asked by 07.05.2018 / 05:08
0
answers

graph with chartjs and filter

You can graph with a filter, but with two no, please help. index.php <body> <div class="caja"> <select onChange="mostrarResultados();" id="year"> <!--<select onChange="mostrarResultados(th...
asked by 28.04.2018 / 01:03
0
answers

Chart.js Legends with values

In chart.js, is it possible to add the values to the legends? I mean how they appear in the photo, the values highlighted in yellow. Thanks!     
asked by 17.04.2018 / 15:28
0
answers

Null data in Chart.js with JSON

I hope someone can find a solution to my mistake. I'm trying to fill out my chart with data taken from the database, but my chart is undefined I have done tests, and if it brings me the data correctly from the BD, but when passing it with PUSH...
asked by 14.02.2018 / 00:35
2
answers

Chart JS, Join points undefined

There are times when my system receives nulls or undefined. I need that when I have null or undefined data the union between these points is traced with a line of another color. Current Expected var ctx = document.getElem...
asked by 30.10.2017 / 12:41
1
answer

Difference between values in X Tooltip Chart JS

Is there any way to add an item to the tooltip and perform calculations among others? For example, in this image an item is added and the value would be the difference between the other two values. Expected: Current JSFIDDLE...
asked by 23.11.2017 / 20:22
1
answer

problems showing the null of a tables

Dear, CREATE TABLE 'preguntas' ( 'id_pregunta' int(11) NOT NULL, 'nombre' varchar(200) COLLATE utf8_spanish_ci NOT NULL, 'id_dimension_p' int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_spanish_ci;...
asked by 03.10.2017 / 21:18
1
answer

Chart JS, Start from negative value

Is it possible to start the graph from a negative value to a positive one? ACTUAL EXPECTED: That is, the value starts from a negative number and extends to the positive defined in the dataset. var canvas = docume...
asked by 18.09.2017 / 21:01
0
answers

Laravel graphic reports with charts

Hello I need help to pass the results of my query to the charts but I do not know how. those 3 values that I got from the query By Dispatch Dispatched Planned I have to place them - > values ([78,10,20]) I'm using link This is my controller...
asked by 15.06.2017 / 02:56