Questions tagged as 'chartjs'

1
answer

Chartjs - Click event

Sirs, good afternoon, I'm doing some graphs with chartjs and there was a need to click on a bar or line of a graph to get the value (of the label or the series) with this information I could even call another graph yet I did not I'm getting this...
asked by 18.12.2017 / 20:17
1
answer

Midline Chart JS Line

I have a chart like the image below in ChartJs: Isitpossibletodrawastraightlinethatshowstheaverageofthevaluesasintheimagebelow? GraphicCode:$(function(){newChart(document.getElementById("graficoOcupacao").getContext("2d"), getChartJs('line'));...
asked by 30.11.2017 / 19:33
1
answer

Tooltip Chart JS Line Chart

In the image follows Graphic in Line that I have. Iwouldlikethetooltiptoworkoutasfollows:80%Insteadofthewayitis:03:80GraphicCode:$(function(){newChart(document.getElementById("graficoOcupacao").getContext("2d"), getChartJs('line')); }); functi...
asked by 30.11.2017 / 19:20
0
answers

Division into chartjs categories

Situation: I have a graph that shows the performance of the user and the group according to some questions that have been answered by them. Each question belongs to 1 module and has a lesson. The problem is that I have found no way to add th...
asked by 06.10.2017 / 03:51
1
answer

Insert data into the chart

I have the following code: window.onload = function () { var chart = new CanvasJS.Chart("chartContainer", { title:{ text: "Desktop Search Engine Market Share, Dec-2012" }, animationEnabled: true, legend:...
asked by 19.09.2017 / 17:26
1
answer

How to import the Chart.js library into an ASP file?

I'm trying to insert a chart with Chart.js into an ASP page (not ASP.NET). I saw some tutorials from Chart.js itself and found the following statement:    You can download the latest version of Chart.js from the GitHub releases.       [...]...
asked by 22.06.2017 / 19:53
1
answer

Graph overlays on chartJS

I have the following problem, the need to create graphs dynamically from a select that represents the schools of the system and as it is clicked to generate a pie chart with their respective classes, the part of generating the graphs occurs in a...
asked by 23.04.2017 / 04:01
1
answer

Chartjs rotate text

I would like to know, I have a text created with canvas on chartJS]. How do I rotate the text, while being vertical in the center of the line. I tried Rotate, but the text disappeared from the graph. EXAMPLE link     
asked by 13.04.2017 / 20:36
1
answer

RADAR CHART - Chartjs - View Sublabels

I'm using chartjs' CHART RADAR ( link ). I wonder if we could do sublabels on the chart and how we would do that. Followthecode:jsfiddle.net/f794khyf/5/ var ctx = document.getElementById("canvas"); var data = { labels: ["Eating",...
asked by 19.04.2017 / 20:29
2
answers

Label and Legend on Charts Chart Chart Donuts Charts

Would anyone know how to include Label and Label above the graphic in this type below? link I have created my own, but I have already inserted all the options in the documentation and the label only appears when I hover over.     
asked by 29.01.2016 / 11:30