score:1
Accepted answer
silly me... in order for the json to recognize it as an array field...
instead of doing this...
objList.data[0] = 100;
I should've done it like this...
objlist = new GenList();
objList.name = "TEST";
objList.data = new [] {100};
objGenList.add(objList);
the output would be
{ name : "TEST1", data : [100]}
score:1
Your method isn't returning anything, does adding this this work?
return objGenList;
Source: stackoverflow.com
Related Query
- Plotting multiple series from HTML table generated by Ajax to Highcharts
- Highcharts series setData from ajax php procedure
- Highcharts Series from AJAX
- Highcharts displays series names but missing data points from json source
- HighCharts Hide Series Name from the Legend
- Proper way to remove all series data from a highcharts chart?
- How can I hide series from a HighCharts legend?
- How can I hide a series from initially being displayed in Highcharts
- adding series to highcharts from JSON
- Highlighting Highcharts series from a remote element
- Loading Highcharts series from XML using jQuery
- How can I delete all of the points from a highcharts series
- Using PhantomJS to create HighCharts grahps server side for use in PDF creation (PHP) - results in exit code 11 from PHPs exec();
- How do I hide a Highcharts series from the chart, but always show it in the tooltip?
- Highcharts - remove points from series
- AJAX displaying values from two different functions in a single Highcharts chart instead of two different ones
- Highcharts - Remove first marker from Area chart in every series
- highCharts flags - drop line from flag on series
- How to obtain HighCharts series "id" from "series" elements?
- adding series from existing highcharts chart
- Highcharts - How to make a scatter plot with multiple series from HTML table
- Highcharts multiple series json from php
- How to construct HighCharts data series to match returned Json via ajax call
- passing json values to highcharts from .net code behind
- Charts using Highcharts with multiple series from JSON
- Highcharts + Angularjs : Graph doesn't redraw when adding series from an external event
- Highcharts with multiple series from JSON Dynamically
- Highcharts drilldown from a series
- Stop Highcharts from cropping the series line between points on the x-axis
- How to add Series data in Highcharts from MVC
More Query from same tag
- How do I put box-shadow to Bar(point) on hover of Highcharts?
- HTML Input Value Into Pie Chart Series Data (HighCharts)
- Highcharts rendered with no strokes using wkhtmltopdf
- highcharts chart height apart from legend
- Highcharts: How to make curve start outside of the visible view horizontally?
- Why does Highcharts <div> element take up the entire page?
- highcharts stockchart 1m and 3m not enabled
- Hide first tick in Highcharts time series
- Highcharts angular wrapper labels.items don't refresh
- Highcharts: Is it possible to show Sunburst chart series data labels outside the leaf level nodes with connectors?
- How to display Day and Date in Highcharts Column Graph using PHP
- How to load 60,000 data points without datagrouping in highstock chart?
- Highcharts how to make legends as data labels on scatter plot
- Populate Highcharts series with data from AJAX/JSON
- Highcharts having problems with Ajax Request
- Javascript High Charts changing Rec Rill hover color
- Highcharts columns with index on each column bottom
- Highcharts navigator mouse over not working
- US Counties map in Highmaps for Angular throws compilation error
- Google Line Chart: drag to adjust value
- Highcharts: Selecting single series from plot with multiple series
- Remove DataPoint from x-axis redraw Issues
- Change the background color above a curve
- Trying to get Gridster to call functions like disable but $('.gridster ul').gridster().data('gridster'); not working
- How to set 30 seconds interval for datetime on y-axis for highcharts JS
- Width for labels on x Axis with grouped Categories in Highcharts
- how create chart with highcharts.js and call ajax?
- Formatting PHP/MySQL data in correct JSON format for HighCharts
- Use JSON with HighCharts and AJAX
- Highchart: display time and date at midnight