score:0
as @wergeld pointed out, there's no binding capability so i used underscore to get what i wanted
var templist = null;
var finallist = [];
// use underscore to get count of each number and store in templist
templist = _.countby(array, function(hour, index){
return currentdiscinhourformat;
});
//loop through the key/val obj that gets produced from templist and set a multidimensional array in finallist
for(var key in templist){
finallist.push([key, templist[key]]);
}
Source: stackoverflow.com
Related Query
- Filtering through highcharts series data array
- Highcharts series data array
- Use an array of objects for series data in Highcharts
- Highcharts series data array not working
- Highcharts Tooltip - Access "z" value in series data array
- Pass array from js for loop to highcharts series data
- Highcharts series data not persisting through angular route change
- Extract data series from a JSON array for a Highcharts chart with 2 y-axis
- Highcharts series visibility with csv data source
- How to have multiple highcharts with different series data in vuejs without repeating code
- Highcharts : Display static Y axis labels from array when series data is null , else auto generated label
- Highcharts displays series names but missing data points from json source
- Set Additional Data to highcharts series
- Proper way to remove all series data from a highcharts chart?
- Changing data dynamically for a series in Highcharts
- Add additional data to a Highcharts series for use in formatters
- Disable series through configuration in highcharts
- Get Highcharts Series Data after Load
- Highcharts doesn't display series with lots of data points
- Highcharts data series issue with ajax/json and PHP
- Filtering legend of a Highcharts by only visible series
- Changing Highcharts data series type dynamically
- Highcharts how to use JavaScript variable as series data source?
- How to get multiple data series into Highcharts
- Highcharts with JSON data and multiple series
- Highcharts - Provide URL's for series data to open clickable link
- Find number of data points in each series in highcharts
- How get data name in Highcharts pie chart legend instead of "Slice" using array of values?
- Sort the series data for every X-Axis in Highcharts
- Highcharts : Showing wrong color in data series
More Query from same tag
- Angular Highchart multiple values in tooltip
- Using yii with dynamic data and highcharts
- adding a highchart into wordpress
- Highcharts select chart by button click and adjust width
- Fullscreen panel bootstrap with highcharts (responsive)
- Highchart: Only show one series at a time
- How to remove data gaps in HighCharts xAxis on a scatter chart
- Spline Graph with diagonally fixed values with 0,0 and ploting remaing same
- How to open chart in new tab?
- centering text in highchart pie on responsive
- Getting data from Mysql for highstock area graph.
- Highstocks - How to change the default Zoom
- How to access function of buit-in button in highcharts using asp.net
- Position text and circle in Highcharts graph dynamically?
- How do I show map points using country codes with Highmaps?
- Highcharts not working in ie 11
- disable legend resizing of chart
- Prevent JSON.parse(data) from cutting off zero digit for String floats
- how to add new index Highcharts column drilldown chart
- Highcharts: Rendering Incorrectly Prices between Percent/Value
- Highcharts: get an event before drilldown?
- A Challenge? converting mysql rows to very specific format with php
- Use non-emoji version of unicode character (highcharts and plain html)
- Treat option as click event on select drop-down list
- Where to set displayed data vs plotted data in Highcharts?
- Highcharts - Shared tooltip for categorical bubble chart
- Unable to make my highchart responsive in angular 5
- Only single series is shown
- Highcharts & Angularjs: update chart from $broadcast in the main controller doesn't update the chart like a $watch would in the chart's controller
- How to draw a Horizontal line using Highcharts DotNet C#