blacklabel / annotations

Annotations plugin for Highstock by Black Label
http://blacklabel.github.io/annotations/
Other
22 stars 16 forks source link

Fix for exception when chart has no range inputs enabled #40

Closed dogoku closed 8 years ago

dogoku commented 9 years ago

Given the following chart config

{
    ...
    rangeSelector: {
        allButtonsEnabled: true,
        selected: 5,
        inputEnabled: false
    },
    ...
}

The annotation plugin would crash on renderButton and renderAnnotations since it only checks for rangeSelector and not for inputGroup

marcinmaruszewski commented 8 years ago

+1