score:1
Accepted answer
so i found the answer by myself and it was to write the push like this :
dates.push({x:[data[i].c_min,data[i].c_max], y: field[i]})
if that may help. thanks if you tried to help me.
Source: stackoverflow.com
Related Query
- How to set a time scale to a ChartJS chart from JSON?
- How to prevent first/last bars from being cut off in a chart with time scale
- chartjs : how to set custom scale in bar chart
- How do I add time sourced from an external source as an X axis to a ChartJS graph?
- How to plot chart from external JSON and format X-AXIS to show time using Chart.JS?
- How to start the chart from specific time and offest hour and then show the data on chart from target datetime in chartjs
- Category scale on Y-axis and time on x-axis in bubble chart in Chartjs
- How to set time scale zoom in ChartJS?
- How to dynamically set ChartJs line chart width based on dataset size?
- ChartJS (React) Line Chart - How to show single tooltip with data and labels from 3 (multiple) dataset?
- How to create chartjs chart with data from database C#
- How to get chart from data points (arrays) with inconsistent time intervals and chart.js?
- How to display chart using Chartjs with JSON data in Laravel
- How to set the chartjs bar graph scale to the highest value in the result data
- How to set the xAxes min and max values of time cartesian chart in Chart.js
- How to select context or scale on chart in chartjs quickchart io to run getValueForPixel?
- How to get Data from API to display chart using chartjs in Vuejs
- How to set the gap between data items in a chartjs chart
- How to take a set of Date objects and display the frequency based on time of day using ChartJS
- Using number/text input field to set the data values in ChartJs stops the chart from being displayed
- ChartJs 2 How to remove numbers from the doughnut chart on loading
- ChartJS - Time graph from JSON
- How to fetch data from Json file on charts(bar-chart/pie chart etc) in angular?
- How to set up a simple pie chart using React in ChartJS on codesandbox
- how to insert dynamic data from sql into chartjs stacked bar chart javascript
- How to pass a chart.js chart data object in json from a controller in asp.net mvc
- How to bind data from Controler to chartjs line chart to create it as dynamic?
- How do you get the width of a datalabel from the Chartjs plugin after the chart animates?
- How to set min Value a step down of min value received from database in Y Axis in ChartJS
- how to set a custom tick format in chartjs options from laravel controller?
More Query from same tag
- Pause horizontal scrolling in chart.js for real time data
- How can I make streaming chart with react?
- Bar chart from Vue-chartjs doesn't render
- Chart.js: different dataset size
- Chart.js, set a max value
- Chart.js - Fill Text only appearing when hovering over one part of the doughnut
- Chartjs plugin label in Angular app moving unexpectedly at hover
- opening json file to create chart in chart.js
- make chartJS labels clickable and get label details
- Pass numeric matrix of rgb color values to chartJSRadar() in R
- How to skip labels on x-axes?
- Refreshing the image of a chart using chart.js
- Get Array with json without _chartjs: {…}, push: ƒ, pop: ƒ, shift: ƒ, splice: ƒ, …]
- Blazor server-side Chartjs
- I cannot update my chart ( in react-chartjs-2 )
- Is there a way to display legend's data over the chart in chart.js?
- Chart JS attempt to stacked bar chart tooltip for only one dataset
- Draw a line around a single point in the linechart
- Chart js plugin annotation not working in vue
- Execute script after loading server side rendered React component
- how to display bars in chartjs
- chartjs-vue charts are empty
- Removing ChartJS 2 border and shadow from point style legend
- ChartJS how to generate custom legend?
- chartjs removing/redrawing canvas, graph not responsive
- PHP restructure array of data
- how do i use the numbers i key in from a form as the input data for chartjs
- Chart.js isn't being updated once an update call is made
- Angular and ChartJS to create bar chart
- php/laravel: Creating chartdata, return 0 if no data is being submitted to database