Questions tagged as 'chart.js'

0
answers

Graphics with filter

I have the following table: And I have the getdatap.php, which prepares the data to create a circular chart using chart js in which it is filtering temporarily through the row province and the data "tayacaja"      $sql4 = "SELECT * FR...
asked by 30.09.2018 / 00:10
0
answers

legend of echarts always visible

I'm working with echarts.js , I'm working with 3 graphs, one at side of the other, when seeing the legend of one, when it is at the end of the graph, the legend is covered by the other graph, also happens at the end of the 3rd graph, the one on...
asked by 05.05.2018 / 00:41
0
answers

Colors in the Bar Chart of Chart.js

I am graphing the percentage of compliance of the plans of the areas for which my company is distributed, 2 different lists are filled in and I send the data by ajax where I receive the lists of the hundreds and the of the colors and it shows me...
asked by 09.04.2018 / 17:42
2
answers

Why do not you show me the graph of the data that I insert in a Chartjs?

Guiding me to the documentation the data is an example like theirs, however not It shows me the data. var ctx = document.getElementById("myChart").getContext('2d'); var myLineChart = new Chart(ctx, { type: 'line', data: [{...
asked by 23.07.2017 / 22:07
1
answer

How can I hide a parent in an OrgChart?

Could someone help me and tell me how to hide the father and keep showing the son in an organizational chart. Example: It is required to hide the father ('SG001') and continue showing the son ('AA014'), giving continuity to the line and leavi...
asked by 12.07.2017 / 20:24
3
answers

Graphics with Chart.js

I have a small problem with the graphics, what happens is the following, I have a list where the list in each element has a button that shows in a few tabs more information about each element, whenever you click on the button is loaded in a tab...
asked by 04.05.2017 / 21:35
0
answers

ChartJs, Draw straight lines in bar chart [closed]

THE EXPECTED Be able to draw horizontal lines with labels and colors as seen in the photo. Set static scale from 0 to 300. My current code: JS var data = { labels: ["UNO"], datasets: [...
asked by 05.05.2017 / 14:56
2
answers

Error calling a view with chart.js error Failed to create chart: can not acquire context from the given item

Hello, I need to call mendiante load of jquery a view in Template.php but in the view there is a canvas that contains a graph but the graph shows the following error? '    Failed to create chart: can not acquire context from the given item...
asked by 02.10.2018 / 18:02
1
answer

What tool / s can I use to download a graphic if I use chart.js

Hello very good companions, more than anything I use laravel 5.6 and Bootstrap 3.3.7 along with chart.js (ultima version) and good tool is good for me that same graph that shows me pass it to pdf and then download it, anythi...
asked by 04.07.2018 / 02:10
1
answer

Display data from a SQL Server 2008 stored procedure in PHP

Good afternoon everyone, I need to make 3 graphs with data from a SQL Server 2008 database, this data is subtracted from 3 stored procedures respectively and since the solution is only one page with the 3 graphics joined in 1 large one, I dec...
asked by 30.09.2018 / 21:40