score:0
Accepted answer
i presume your json's output format is wrong. it likes to be [{"name":"hp","data":[[80,85,87.5]]},{"name":"dell","data":[[65,80,58.5]]},{"name":"sony","data":[[55,55,60]]}].
and your bubblechart.php you can fetch data like this
$rows = array();
$rows['name'] = $rowsbubble['product_name'];
$rows1 = array();
$rows1[0] = $rowsbubble['pro_rating'];
$rows1[1] = $rowsbubble['specs_rating'];
$rows1[2] = $rowsbubble['avrg_rating'];
$rows['data'][0] = $rows1;
array_push($result,$rows);
try this format .check what your json returns. i think it will be work fine.
score:2
you need to parse your json to have the same data as in hardcoded version. the data require to be numbers, instead of strings.
Source: stackoverflow.com
Related Query
- How can I get proper object through loop using javascript for Bubble Charts of Highcharts
- how to get each key and value from object in javascript for high chart graph
- How can I get access to a Highcharts chart through a DOM-Container?
- How to get Render Performance for Javascript based Charting Libraries?
- How can I display the outcome of the for loop in highcharts
- How to include highcharts motion plugin for bubble plot using R wrapper?
- How can I automate high charts and graphs using selenium webdriver?
- How can I set the legend symbol color for a series when using colorByPoint?
- How can I get a chart only with legends using highcharts
- HTML table as data source for highstock charts using highcharts
- How can I get arrows at the end of x-axis and y-axis using highcharts.js?
- How to create a drilleable bar graph in jsp page using open source charts API
- How to generate proper csv file format using javascript
- how to limit the label size only for bubble diameter in high charts
- How can I get every bar in different colour using Highchart?
- How to set object value in color attribute for high charts legends?
- Highcharts: when having multiple columns for the same X axis value, how can I get 1 tooltip per column?
- javascript for loop through nested json values
- Can I get input field object from range selector using java? Highchart
- highchart How can I get width parent element for calculated x max in xAxis
- How to get categories from a database for highcharts using codeigniter
- How to format PHP into the proper string for JSON in pie chart using highchart
- How can I get the max value of a y axis at highcharts?
- How can I read an Excel File with JavaScript (without ActiveXObject)
- How do I dynamically change a data point in Highcharts using JavaScript
- Javascript Highcharts v3.0.5 - How to hide Y Axis Title when using multiple Y Axis
- Rails - convert date string into javascript date object for highcharts
- how to get chart object inside a point event function in Highcharts
- In TypeScript, how do I work out the proper type for 'this'?
- Can I assign a different radius for each pie slice using Highcharts?
More Query from same tag
- Angular5: Hide/Show yAxis in Highcharts based on the data
- Highcharts-ng stock chart gives "TypeError: Cannot read property 'hoverSeries' of undefined" when loading data asynchronously
- How do I display category names instead of point.y in Highcharts scatterplot?
- asp net gridview to highcharts
- R shiny Highcharts tooltip: adding average as extra variable
- Pie chart with drilldown not working
- HighCharts performance issue and alternative
- Highchart not rendering in shiny using 'Highcharter' package
- Highcharts dataLabels shadows
- highcharts context menu hidden for small charts
- Highcharts - Display Stack Label
- How to adjust the height and width of background color in Highchart
- React Highcharts with export functionality with 'react-highcharts'
- Graphing Data with HighchartsPHP (PHP Wrapper)
- Limitation for data-set (items) with Highstock/Highcharts?
- Highcharts IE10 support
- High chart column graph space issue
- Get current visible chart data after scroll
- Highcharts heatmap points with transparency depending on value
- FsPlot for osx sierra
- Highstock Flags Series with stacked data
- Highcharts Stacked Column chart change legendItemClick function
- How to center the yAxis title in Highcharts
- Highcharts - drill down to multiple series
- HighCharts remove stack totals
- Highlighting last column in Highcharts
- How to avoid X axis to display decimal values
- Add additional data to Pie Tooltip on Highcharts
- Drop down integration with bubble chart
- How to Show Highchart on popup page [triggered by button]