Questions tagged as 'chart.js'

0
answers

Margin or Padding, Chart JS

Is there a way to increase the space between the bar and the edge? otherwise, Can the red bar be thinner? link var canvas = document.getElementById('myChart'); var data = { labels: ["January"], datasets: [...
asked by 05.06.2017 / 17:43
0
answers

Chart.js Uncaught ReferenceError: require is not defined

I want to do some tests with the library chart.js, I add the library manually to my project (without using bower). I consulted this question in the English forum but currently there is not the dist folder in the download of github...
asked by 13.03.2017 / 11:18
1
answer

Change color to some statistical bars with Chart.js

Hello, I need support on how I can change the color of the bars below and I try to change them but I have no result. this is my code $(function () { $.ajax({ url: baseurl + 'asistencia/traer_turnos', type: "POST", dataTyp...
asked by 04.05.2017 / 23:37
1
answer

Cake Graphics

How can I make a piechart with data coming from a web service ?. The data that the web service shows comes in json format; this is an example of the output of my web service, which is called ws_lugares.php : { "procede": "1", "status"...
asked by 17.10.2018 / 18:57
1
answer

Add Link to a piechart

I'm working with graphics, which works well for me and delivers the data I request; my problem is that I can not add a url and that this url take me in said graph. <div class="el-chart-w"> <canvas height="300px...
asked by 04.09.2018 / 16:02
1
answer

Help with a Javascript function to add several dataset to a chartjs from the database?

function _cargargraficamatriculas(anio, sector, calendario, subregion, municipio) { var url = "grafica_matriculas" + "/" + anio + "/" + sector + "/" + calendario + "/" + subregion + "/" + municipio + ""; $.get(url, function(resul) {...
asked by 06.06.2018 / 22:02