Questions tagged as 'chartjs'

1
answer

How to change chart.js display c,

I'm learning to work chartsjs I bring date, with January value with 10 clients, the scale is 0.5, 1.0,1.5,2.0 I would like to deichar with 1,2,3,4, ... there is no half client /*********************************** GRÁFICO DE LINHAS DIARIO *****...
asked by 07.12.2017 / 09:50
1
answer

Return chosen label when clicking on any column of chart - Chart.Js

I have a Dashboard made in PHP and I use the Chart.js library. In the Dashboard, I have some graphics that are fed into PHP, like in this example: AndI'mhavingaquestion,whenIclickonsomecolumnofthegraph,IwanttogetitsnameanddisplayitinanJ...
asked by 24.07.2018 / 16:48
1
answer

Improve visual information in Chart.js

I'm developing a system and I use chart.js to generate my charts. However, at the usability level, it is bad because it does not show all the information in the columns. LookingatthechartaboveapparentlyshowsthatinformationexistsonlyintheTota...
asked by 15.03.2018 / 14:51
1
answer

Chart.js different color for negative / positive chart bars

Chart.js : Trying to put a color for positive values and another color for negative values on the chart. Works well if there is at least one negative value: See link But something goes wrong if all values are positive (no negative va...
asked by 13.03.2018 / 22:05
1
answer

Chartsjs export PNG automatically

I need to export a Chart and Chartjs (version 2.7) to PNG I got in: link The only problem I need to push the button. Would anyone know what to modify in javascript? In the end I'm going to generate a report with FPDF in PHP, so I n...
asked by 24.11.2017 / 12:46
1
answer

Minute-by-hour chart with chart js

I do not know if I'm going to be clear, but I'd like to make a graph showing the line of CPU utilization per minute with Chart JS, but with the Y axis rounding by the hour. I was able to do the rounding using parameters of the tool itself, howev...
asked by 31.07.2017 / 23:16
1
answer

Show graph chartJS even if it has no data

Is there a way to display the ChartCh BarChart chart columns, even if they do not have data to display?     
asked by 11.11.2016 / 11:20
2
answers

Decrease the number of bars in the chart BarChart chart js

How can I decrease the number of bars to display according to the month we are? Ec: Currently our month is 11 (Nov), so I would like to see only the top 10 columns of the chart.     
asked by 11.11.2016 / 10:51
0
answers

Adjustment in graphs with charjs

Good morning, I have a graph that has a variable with 100 values, but when chartJs is going to display it abstracts and displays fewer points than it should, causing the graphic to be half broken as in the image: Buttheclientdoesnotwanta...
asked by 19.12.2018 / 11:35
0
answers

How to put text on top of a "datapoint" chart chart?

Hello, I have the following graph: Iwanttodothis: Thecodeforthepage: var yLabels = {0: '', 4: 'Pessimo', 6: 'Trancamento', 8: 'Ruim', 14: 'Excelente', 12: 'Mobilidade Acadêmica', 10: 'Regular', 16: 'Sucesso', 2: 'Fracasso', 18: ''}...
asked by 29.11.2018 / 12:58