Reputation: 21
I've created a Highcharts chart, which has multiple Y-Axises and one X-Axis.
The Y-Axises are on different levels:
...
xAxis: {
type: 'datetime'
},
yAxis: [{
height: 230,
top: 70
}, {
height: 230,
top: 394
},
],
...
This way I have multiple graphs with just one time line which let me zoom all graphs at once. See http://jsfiddle.net/jnLAu/
I'd like to have multiple legends, one for each Y-Axis. Is there any way in Highcharts to create charts with multiple legends?
Upvotes: 2
Views: 3025
Reputation: 1067
You can't have multiple legends, but there are a number of techniques you can use to make it look like you have more than one legend. For your example you can set
itemMarginBottom: 280
See updated fiddle: https://jsfiddle.net/jnLAu/
Upvotes: 1