Luke Galea
Luke Galea

Reputation: 308

High Charts Range Selector

I am using a HighCharts stockChart and have an issue with the range selectors.

When I press on 1 Day, the 1 Month and 3 Months are enabled and can be pressed. When I press on 3 Days or 1 Week, the 1 Month and 3 Months become disabled and cannot be pressed. Pressing on 1 Day makes the 1 Month and 3 Months enabled again.

Has anyone experienced this issue before? Thanks

Upvotes: 0

Views: 39

Answers (1)

ppotaczek
ppotaczek

Reputation: 39139

That issue is related with dataGrouping. As a solution you can set groupAll to true:

series: [{
    dataGrouping: {
        groupAll: true
    },
    ...
}]

Live demo: http://jsfiddle.net/BlackLabel/9gs8ukye/

API Reference: https://api.highcharts.com/highstock/series.line.dataGrouping.groupAll

Upvotes: 1

Related Questions