score:1
Accepted answer
i have corrected the problem with your code: demo
you will have to pass series data for each y-axis individually:
series: [{
name: 'rainfall',
type: 'column',
yaxis: 1,
data: [49.9, 71.5],
tooltip: {
valuesuffix: ' mm'
}
}, {
name: 'temperature',
type: 'column',
data: [7.0, 6.9],
tooltip: {
valuesuffix: ' °c'
}
}]
score:1
well, i think you need to fix your series
object. how about this:
series : [{
data : [{
name : 'roads',
y : 200
}, {
name : 'powerlines',
color : '#ff00ff',
y : 50
}
]
},
{
yaxis : 1,
data : [{
name : 'roads',
y : 30
}, {
name : 'powerlines',
color : '#ff00ff',
y : 10
}
]
}
]
also you need to add yaxis : 1
as an id to axis (you can explicitly set the id of an axis to make sure)
Source: stackoverflow.com
Related Query
- Issue on Setting Two yAxis in Highcharts.js
- Highcharts Pie Chart ignores percentageDecimals tooltip setting and has floating point inaccuracy issue
- Highcharts yAxis text rotation issue in IE8
- Setting yAxis Max value in highcharts
- Highcharts how to align two charts yAxis on the same line
- Highcharts yAxis self-adaption issue
- Set at the same level the unit of two yaxis highcharts
- Define yAxis value with two different yAxis scale highcharts
- Issue on Setting Highcharts Spider Web Legend in One Iine at button of Chart
- Highcharts cloud issue with data source when duplicating chart
- Highcharts loaded via ajax, issue to dynamically create yAxis
- Decimals on yAxis are not being displayed, even if that same code works on highcharts jsfiddle
- Setting yaxis as logarithmic with Highcharts cakephp plugin
- how do you draw two yAxis chart in highcharts
- Highcharts dual yaxis scaling issue
- Highcharts - setting the yAxis title dynamically
- Highcharts gauge with two yAxis and related size
- How to set Highcharts chart maximum yAxis value
- Highcharts - issue about full chart width
- Styling bar colors in Highcharts with a gradient issue
- HighCharts full width issue
- jQuery UI Tabs and Highcharts display/rendering issue
- Highcharts yAxis max not working
- HighCharts - two Y-axis, one with max value
- how do I get two highcharts on one page?
- Highcharts Pie Chart.How to set labels in two lines
- Highcharts data series issue with ajax/json and PHP
- Highcharts - set maximum range for yAxis but keep axis dynamic within that range
- Highcharts dynamically add/change yAxis plotLines
- Possible to connect the zoom on two Highcharts graphs?
More Query from same tag
- Set customize credits in Highcharts
- Update from milestone to task Highcharts gantt
- Dynamic Highcharts with maximum xaxis points
- Highcharts: Updating a Pie with ajax
- How to reduce the area around a highcart?
- Unit test for Highcharts tooltip in Angular
- How do I format x-axis label in highcharts
- Get container element inside Highcharts
- Custom styles on Highcharts legends
- Issues plotting two lines with JSON data on high chart using Angular JS - name undefined
- Highcharts: Error bars in drill-down charts
- Sql query to populate 0's for missing data
- Synchronized tooltips positioning with line and horizontal bar charts
- Chart background highlight in HighChart
- Android highchart how to disable export button?
- Highcharts Dynamic tooltip positioning
- JSON data size limit
- Display count of grouped points on Highcharts dataGrouping
- Highchart from Mysql not working
- Plot heatmap from CSV file [Highcharts]
- HighCharts how to make drilldown label show on mobile view?
- highcharts hide the chart except the legend
- Angular HighCharts ParlimentChart is not working
- how to draw charts with json file data in highcharts
- How can I create a weighted pyramid chart (looks like a pie chart)?
- Display Data with Xvalues correctly in Highcharts
- Highsoft.Highstock .NET - How to update navigation on all charts with MVC
- redraw pie chart in highchart
- How do I plot the x axis line using Highcharts when pegged at 0?
- Remove data labels when ploting and exporting graphs