Questions tagged as 'chart.js'

0
answers

How to consume content from a Json using a Charts script.JS

I have a service that combines two querys of Sqlite in an array (followed by a Json encode), I try to generate several queries to have the data and paint them in a line graph in charts.js My service when it is sent with a single array works,...
asked by 02.10.2018 / 17:13
1
answer

Chart.js ignores configurations

I have the following code var ctx = document.getElementById('myChart').getContext("2d"); var chart = new Chart(ctx, { type: 'horizontalBar', data: { labels:['uno','dos','tres','cuatro','cinco','seis','...
asked by 27.09.2018 / 01:57
0
answers

Graph functions

I was programming function graphs but I still have not resolved how to mark axis Y to axis X . I tried some frameworks like chart js canvas and I do not get results.     
asked by 05.09.2018 / 04:58
0
answers

chartjs-plugin make elements draggable like the legend

Good to all I basically want to be able to move the elements like the legend up, down left right and be able to resize the content that is inside the canvas in real time in graphic mode, I know it's something very specific I do not know if anyon...
asked by 10.08.2018 / 09:41
0
answers

How to show MySql data in Chart.js with php?

I have a database that has these two tables: and what I want to do is show the percentage of coemrcial and residential that are loaded in a Chart.js with php, how could I do it?     
asked by 23.07.2018 / 17:01
0
answers

error when trying to display the data of a graph with chart js

I have a graphic created with the library chartjs . When I select some label label First , Second the tooltips of the tag crossed out remain persuasive floating on the graph. my questions are:    Is there any way to solve...
asked by 25.07.2018 / 22:15
0
answers

chart js dynamic graphics

Good afternoon community. I am a newbie in web development and I need to make a dynamic graphics using the library chart js, I use a function in java script, which uses a static method to query the server, obtaining as response a DataSet with se...
asked by 05.07.2018 / 22:35
1
answer

The bars do not start the requested coordinate point (x)

I am new with chart.js and I have data that should start in month 06 or 03 of the x-axis (it is variable depending on the data in the database) as I do so that the data starts at that point and not in 01 ... step the code is in PHP with queries...
asked by 30.06.2018 / 17:21
1
answer

enlarge radius of the circumference of the chart donut-chart, with chart.js

I have a graph donut chart on my page, but the line of the circumference is very wide I want to make it thinner, for that I need to know how to enlarge the radius, this is my graphic. What I want is for the blue to be thinner. This i...
asked by 21.06.2018 / 23:46
0
answers

Box Plot Diagram in Chart.js

I need to create a Box plot (Chart of mustache box) in Chart.js but I can not find a way to do it with the library described.     
asked by 29.05.2018 / 15:09