Closed briankpw closed 5 years ago
Thank you for the report, @briankpw !
Can you please provide the source code with it? The error message indicates, that your color type in the component is incomplete: Subsequent property declarations must have the same type. Property 'color' must be of type 'string | GradientColorObject | PatternObject', but here has type 'string'.
Hi @bre1470,
For version 7.1.1, the issues is fixed for resetZoom
Range Selector, Navigator, Boxplot still unable to apply theme into the chart.
New error for drilldown.drillUpButton.theme.states.hover.select
Type '{ fill: string; style: { color: string; }; select: { stroke: string; fill: string; }; }' is not assignable to type 'ButtonTheme'.
Object literal may only specify known properties, and 'select' does not exist in type 'ButtonTheme'.ts(2322)
index.d.ts(1557, 13): The expected type comes from property 'hover' which is declared here on type '{ hover?: ButtonTheme; select?: ButtonTheme; }'
Hello @briankpw !
Thank you for your feedback. The option path drilldown.drillUpButton.theme.states.hover.select
is not valid, it should be either drilldown.drillUpButton.theme.states.hover
or drilldown.drillUpButton.theme.states.select
.
Expected behaviour
chart.resetZoomButton should able to apply theme,
Highcharts.setOption(theme)
& Range Selector and Navigator should able to apply theme on 7.1.0on 7.0.3 resetZoomButton apply theme is working but 7.1.0 is not working.
#10274
Actual behaviour
No theme apply on Range Selector and Navigator on 7.1.0
Reset Zoom able to apply theme, but the error message is coming out when run and build the project in angular.
Error
Live demo with steps to reproduce
https://stackblitz.com/edit/highchart-angular-theme?file=app%2Fapp.component.ts
Product version
Highcharts v7.1.0 and highchart-angular 2.4.0
Affected browser(s)