score:0
you're trying to initialize option.series.data
with totals and with timestamps in a mixed way. just separate them!
place timestamps in the option.xaxis.categories
or in the option.labels
(check this). in the option.series.data
you need to store total sums only!
go through your apexchart example more carefully. there is the same way implementation.
Source: stackoverflow.com
Related Query
- Trying to get total sum based on months on ApexCharts with Php
- How get sum of total values in stackedBar ChartJs
- Trying to load a chart with chart.js, through ajax and php
- How to get data on chart based on selected date (Filtering data Chart JS with datepicker)
- Chart.js (Stacked Bar chart) How to calculate total sum of labels in tooltips?
- how to get React chartjs to resize back down with window
- Chartjs, plot data based with unequal time intervals
- Stacked horizontal bar chart along total count with chart.js
- JavaScript. Trying to simplify code, maybe with loops?
- chart.js not getting linked with online database and php
- How to get chart from data points (arrays) with inconsistent time intervals and chart.js?
- Dynamic line chart with chart.js and PHP
- How can i iterate or get all object out of array with object key in Chart.js
- Chartjs not working with d3 from csv source
- how to display multiple sum with chart js and laravel?
- How to generate color code dynamically by swapping 2 characters within a string using PHP
- Get method in php then pass the value into json format
- Create New Array from Existing Array Values With Unique and Sum
- How to reuse a Chartjs Chart component in with different Data and get past the **Canvas is already in use** error?
- Chart.js : How to get a line created by sum of others line?
- How to write better code in es6 for formatting an object with array values
- I dont know how to sum expenses based on category in sequelize
- Problem with script src for Chart.js. The CDN for Chart.js funtions fine, so my code is ok. Somehow I'm not linking the file correctly
- With Chart js, I am trying to color every 7th vertical (x axis) grid line (representing each week beginning visually)
- Send data from php to chart with ajax
- NPM module doesn't work with Webpack 3 but works with vue-cli3 which based on Webpack 4
- Dynamically create chart with Chart.js and PHP
- Calling chart JS with PHP Data (file structure)
- Why Chart.js v2 time based data not aligning with X axis correctly?
- Updating Chartjs to 2.5 with custom code
More Query from same tag
- How to display data with percentage from database in pie chartjs?
- Chart.js loading data colors from PHP
- Chart.js - shrinking legend to fit data
- Using and reading a variable from Knockout.js in Chart.js
- How to display value after the bar using chart.js
- Chart Js Cannot read property 'length' of undefined
- Chartjs - How to get last 7 days on x-axis labels?
- How to get data from JSON for chart.js, using vue.js
- Charts.js & Bootstrap Accordion
- Horizontal bar chart in chart.js
- Bold text inside doughnut chart (chart.js)
- How to add dataset legend in chartjs tooltip
- How to draw High-Precision-Numbers in chartjs
- How to style specific gridlines differently in chartJs?
- Django ValueError The view todo_lists.views.visualisation didn't return an HttpResponse object. It returned None instead
- Angular2 and ng2-charts does not display any graph
- ChartJS does not display when using local Chart.js file
- Create ticks at certain time positions on a chartjs cartesian time axis
- How to set the serifs on the X and Y axes?
- Chart.js animation triggered only on hover?
- Object.values not seperated by parentheses / Chartjs only displays first element of array
- No rendered annotation line on Line Chart
- Chartjs disable color change on hover withouth disabling tooltips
- Error passing custom options to radarChartJS
- Add space Between Columns in Bar chart. chartjs
- Multiple Chart JS percentage labels
- Using array as data in Chart.js
- how to change color of bar if its goes above avg score in mixed graph chart.js
- Contrast chart.js datalabels colors with the background
- Charts.js: thin donut chart background