Skip to content

Put color styles in settings so that they can be scoped to a chart#125

Merged
mhooper-scottlogic merged 2 commits intodevelopfrom
feature/scoped-color-styles
Mar 27, 2019
Merged

Put color styles in settings so that they can be scoped to a chart#125
mhooper-scottlogic merged 2 commits intodevelopfrom
feature/scoped-color-styles

Conversation

@andy-lee-eng
Copy link
Collaborator

Allows us to put multiple charts on a single page, where theme settings apply to only some of them.
The split-screen examples have been updated to show gold/silver/bronze on the middle chart only

Use ShadyCSS component to get style variables directly
This is the same as Highcharts currently uses.
Avoids having to create svg and dom elements to get the styles.
Requires that the default style variables are set in the perspective-viewer layer.

Allows us to put multiple charts on a single page, where theme settings apply to only some of them
This is the same as Highcharts currently uses.
Avoids having to create svg and dom elements to get the styles.
Requires that the default style variables are set in the perspective-viewer layer.
@mhooper-scottlogic mhooper-scottlogic merged commit 51a355a into develop Mar 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants