Questions tagged as 'chartjs'

1
answer

Chart.js - Line Type - JSON - SQL Server

I'm setting up my first Chart. When I use constants in the date the chart renders normally, but when I load sql database information I do not have the same success. Follow the code ... <div id="canvas-holder1" style="width: 100%;"> &...
asked by 06.11.2016 / 00:47
1
answer

format a multi caption with "R $" using Chart Chart JS

When I add a second line in the chart the caption is incorrect "without the $". How can I solve this problem? Thank you function formatar(valor) { var moeda = 'R$'; valor = ('' + valor).replace(',', '.'); valor = ('' + valor).spli...
asked by 18.05.2016 / 21:40
0
answers

Problem with minimum size in chart chart

var config = { type: 'radar', data: { labels: ["Confiança", "Atividade", "Juros", "Condições de financiamento", "Concessões reais", "Atratividade do Financiamento Imobiliário", "Emprego", "Massa salarial", "Atratividade do...
asked by 26.07.2016 / 16:10
1
answer

Chart.js with Angular using ng-include. Charts do not appear

Hello. In my index.html I have this <div ng-include="'graficos.html'"> </div> In graficost.html I have this: <div class="row"> <div class="col-md-6 col-sm-6 col-xs-12"> <di...
asked by 20.05.2016 / 16:23
0
answers

Problem with label on charts in ChartJS

I'm using ChartJs and StackedBar to create some charts, but ChartJs does not have the option to put their values on top of the bars, so I've implemented the following solution: onAnimationComplete: function() { var ctx = this.chart...
asked by 11.04.2016 / 22:07
0
answers

Chart Chart JS - Insert Label at Donut Center Charts

I have a Donut Charts chart - link - and I would like the Label to be present in the center of the chart. Would you know if this is possible?     
asked by 01.02.2016 / 14:26
3
answers

Chart JS - hide caption

Hello I'm using Chart.js in a project, however I need to hide the caption that appears above the chart. Does anyone who has worked with this chart know how to hide this part? Follow the link of the chart I'm using: link Here is...
asked by 01.07.2016 / 15:27
2
answers

Give Foreach a label in Chartjs / Canvas - CodeIgniter

I have a problem here, which may be simple, I do not know I'm using a graphic frame, where I can put the labels I want so it can be displayed at each bar. Staying like this: Eachitem(January,February,March...correspondstoalabelinthefollowing...
asked by 28.10.2016 / 21:44
1
answer

Refresh div with Javascript or AngularJS - for IONIC

Hello, I have the following problem, I have a select with an onchange method that I would like to update a div . The reason for this is because I have a 3 graphics done in angular-chart.js and (supposedly) when values that the...
asked by 28.10.2016 / 13:31
1
answer

How to format monetary values to be displayed in Brazilian format with chartjs

How to format monetary values to be displayed in Brazilian format with chartjs, in the tooltip and the Y axis of the chart below I wanted to display: R$199,99 e R$2.888,99 But I did not find this in the documentation. var options = {...
asked by 09.11.2018 / 11:41