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
- Highcharts - only apply style to certain labels
- Generate a line chart over column chart using highcharts
- Creating multiple series in Highcharts within a loop
- Set HighCharts marginTop dynamically based on mobile device screen size
- Auto setting time axis range in highcharts
- Reloading HighCharts data using Ajax
- Highcharts blank chart with x and y axis
- Highchart series mouseover
- How can I copy/paste base64 images?
- Multiple series in HighStock charts
- Make div container clickable, except export button
- Highchart - Launch Sweetalert2 when click element
- GWT: Adding Images in HighCharts
- same js highcharts display not the same
- Pan one of multiple Y axis for highchart
- HighCharts not updating when the state changes in React
- Highcharts bar grouping while maintaining transparent overlay?
- Solid Gauge Highcharts data Spreadsheets
- How to draw a vertical line on HighCharts?
- Callouts CSS implementation for highcharts not working
- I am working on highcharts, and want to adjust tooltip with chart name ( chart title )
- Adding color to the max value in a dynamically generated chart?
- Highcharts - SetState (inactive) not working after redraw
- set chart type property in devexpress chart control c#
- Highcharts, how to put markers on min/max values on yAxis
- Highcharts: Change the Legend TItle on drilldown
- Milestone Trendanalysis with Highcharts
- Displaying data ArrayList (EJB + Servlet + JSP(JSTL)) to JavaScript ArrayList
- change highchart data using radio buttons
- Utilize XMLHttpRequest on Real Time HighChart