score:2
Accepted answer
You need to define this parameter in JSON, or parse your json after receive, and set this paraemter, then use in Highcharts.
EDIT: You can replace this lines
$sth = mysql_query("SELECT * FROM wp_maxpax_A where fecha='12/11/2013' ");
$rows = array();
$rows['name'] = 'MaxPax';
with
$sth = mysql_query("SELECT * FROM wp_maxpax_A where fecha='12/11/2013' ");
$rows = array();
$rows['name'] = 'MaxPax';
$rows['type'] = 'line';
Similar in next series. Second solution is push type after getting json like:
$getJSON('path/to/json',function(data){
data[0].type='column';
data[1].type='line';
var options = {
// your options
series: data
};
$('#container').highcharts(options);
});
Source: stackoverflow.com
Related Query
- Highcharts with JSON data and multiple series
- Creating a line graph with highcharts and data in an external csv
- Highcharts - Global configuration with common code and unique data & Headings
- Rails collecting and rendering JSON data in to a Highcharts graph
- Highcharts and Json data
- Highcharts with ajax and json data what am i doing wrong?
- How to format my json data for stack column chart in HighCharts
- Highcharts - reduce the space between zero data line and x-axis
- HighCharts issues in Dual axes, line and column charts
- How to stop plotting the graph if data is blank and continue if data is there on the y-axis in base line highcharts
- Highcharts Single Line series JSON date data format
- highcharts datetime data not working on column type, but working on line
- JSON, Highcharts and Coldfusion json data
- Data Conversion from SQL, C# with Linq to JSON for Highcharts Line chart
- Lazy HighCharts and Loading Json Data
- Dynamic column based highcharts feeding data with jquery and php
- highcharts, json data: line and column
- Highcharts Highstock How to Plot OHLC and Line Charts from One Set of Embedded CSV Data Using Series Map Tools?
- Add a line on each bar for stacked and grouped column in HighCharts
- Highcharts to display area range and line chart with data from a CSV file
- how to make chart real time with 2 line and get data from php with highcharts
- Highcharts redraw and sort data on draggable line graph
- Highcharts: Combined line and column chart - start / end line on left / right side, not on column chart data points
- HighCharts Bubble graph JSON as data source
- Highcharts csv data loading and parse into separate array and json
- create column chart in highcharts dynamically from json data
- line and column chart in grouped categories in highcharts
- Highcharts combining a column and spline chart from an html data table
- Produce highcharts multiple line chart from JSON / MySQL data
- Highcharts JSON formatting - splitting up and preprocessing data for charts?
More Query from same tag
- How to have a highcharts chart in a container of a fixed width, and with a horizontal scrollbar?
- How to delete graph on click
- Highcharts: How to move the column bar to the left most side when there is only one point in drilldown
- To display legend of the chart outside the canvas of the chart in highcharts
- Highcharts - Continuous line with centered step (start before the first point)
- highcharts column labels
- remove previous markers and retain only single marker highchart
- Highcharts - show decimal places only if needed
- Can highcharts drilldown of a chart, reflect on another chart?
- How to check if Highcharts y-axis exists
- Changing the name for 'categories' of x axis while implementing crossfilter with highcharts
- Codeigniter highcharttable count how many data in a month
- Converting Poloniex API Callback JSON into format suitable for Highcharts.Stockchart
- Including source for Alchemy js breaks Highcharts js
- How can I adapt a Highcharts graph to a responsive view
- Multi series export is misaligned in highcharts
- How to increase weight of wordcloud for weight value less than 5 in highcharts
- Highcharts remove() Inconsistencies
- HighChart pointPlacement on y-axis
- Highcharts - How to get horizontal error bars?
- how to show PHP array in jQuery alert?
- Highstock xAxis label formatting
- Programmatically change legends in highstock or highchart
- Highcharts age stacking
- how to add new index Highcharts column drilldown chart
- Highcharts export chart along with outer div
- highstock issue : pointInterval property is not working when series data set contains date and value?
- How to draw SVG shapes at a specific position (dependent on the xAxis)
- Highcharts, how to put markers on min/max values on yAxis
- High chart is not getting populated