Questions tagged as 'chartjs'

0
answers

How to fix the label with the value of the bar in Chart Chart.mvc

@Envelope @ {     ViewBag.Title="Receiving Indicator - Drying"; }     Receiving Indicator - Drying                     @using (Html.BeginForm()) { <p> <div class="row"> <div class="col-md-2">...
asked by 26.06.2018 / 04:12
1
answer

Change Y-axis values in chart js

How to change these Y-axis values in chart js, those values from 5 to 50 were automatically placed by the plugin, wanted to modify them.     
asked by 13.06.2018 / 20:44
1
answer

Chartjs. How to adjust the height of the chart according to the size of the table? Ionic 3

I'm developing an application in Ionic 3, where I consume data from an API and display the data in a horizontal graph. The amount of data returned by the API is not standard, then the previously setada times the height in the CSS is not sufucien...
asked by 17.05.2018 / 19:36
2
answers

ChartJS + mysql + php (subscriptions in the month)

Well, I have a table of user registrations. I'm creating a chartjs to display the number of registered users per month on a bar chart. The mysql query would only have to return me 2 columns (MONTH and TOTAL NUMBER OF SIGNATURES OF THAT MON...
asked by 16.05.2018 / 20:56
0
answers

Minute and second format ChartJS

I'm trying to put in the x-axis the minute and second, but it only gets "mm: ss", I seto the date like this: var time1 = new Date; time1.setHours(0); time1.setMinutes(0); time1.setSeconds(0); time1.setMilliseconds(0); I get the val...
asked by 02.05.2018 / 15:12
1
answer

ChartJs with dynamic dataset

I need to create a dynamic dataset where the data will be filled through a query in the database, this data can generate N bars to be plotted so the dataset needs to be created according to the information coming from DB . The number of...
asked by 27.03.2018 / 19:10
0
answers

Show sum of graph objects - Django / Python / Sqlite

How to display a graph with the sum of objects with Django / Python / SQlite? In this case we have'internal_boxes '(y-axis) for' teams '(x-axis) that are rendering'internal_boxes' for each 'team' insert in the PCdastro model. Example genera...
asked by 05.04.2018 / 00:49
1
answer

Position labels and values on chart

The code for the graphic is in HTML. In the code below, there are these labels: ["Área 2","Área 3","Área 7","Área 5","Área 10","Área 8","Área 11","Área 9","Área 1","Área 14"] According to date values: [145,110,100,75,70,70,60,45,40,20...
asked by 21.03.2018 / 17:57
0
answers

How to modify the label of each dataset in charts.js?

I have this example code and I wanted each set that contained 4 data, however I wanted each die to have a specific name example, in the first set I have, first class, second class, third class and fourth class, this repeats for the other sets, I...
asked by 26.01.2018 / 18:28
1
answer

Pass data to the viewbag of the controller for view using Chart.JS

I'm trying to pass data from a list to a viewbag, but it's not returning correctly in the view. Mytemplateandcontrol:publicclassDataPoint{publicStringnome=null;publicdoubley=0;publicDataPoint(Stringnome,doubley){this.nome=nome;this.y=y;}}pub...
asked by 03.01.2018 / 17:17