v41.0.0
41.0.0 (2021-12-17)
Bug Fixes
Code Refactoring
- goal: remove deprecated config (#1408) (312e31d)
- partition: remove config in favor on spec and theme controls (#1402) (312e31d)
- wordcloud: cleanup config, types and theming (#1407) (41894a6)
- heatmap: dark mode with theme controls (#1406) (f29c8dd)
Features
BREAKING CHANGES
Partition spec - #1402
The PartitionSpec.config prop is removed. All properties have been moved/renamed under new Theme.partition options or PartitionSpec itself with the following exceptions:
PartitionSpec.config.marginis removed in favor ofTheme.chartPaddings. This no longer supports ratios.PartitionSpec.config.backgroundColoris removed in favor ofTheme.background.color.PartitionSpec.config.widthandPartitionSpec.config.heightboth removed as they were never used.
Heatmap spec - #1406
The HeatmapSpec.config prop is removed. All properties have been moved/renamed under new Theme.heatmap options with the following exceptions:
HeatmapSpec.marginwas not used,Theme.chartMarginsshould be used in the future.HeatmapSpec.fontFamilyHeatmapSpec.widthandHeatmapSpec.heightall removed as they were never used.
Wordcloud spec - #1407
The WorkcloudSpec.config prop is removed as it was not used other than assigning margins even with erroneous properties. All wordcloud properties are now driven from the WorkcloudSpec directly. Since the wordcloud is unique in that it's styles are driven by the data I think keeping them on the spec is more favorable than moving them to the theme as they would be overridden more frequently. This does not provide a themed instance of the chart type but this could possibly come from .brightening the provided colors of the text elements.
Goal spec - #1408
- goal: The
GoalSpec.configprop is removed. All properties have been moved/renamed under newTheme.goaloptions with the following exceptions:
Config.marginis now controlled byTheme.chartMarginsand is no longer a margin ratio as before.Config.backgroundColoris now controlled byTheme.background.color, even though it's not yet used.fontFamilymoved into each respective label stylesangleStartandangleEndare moved onto theGoalSpecas optional values.sectorLineWidth,widthandheightall removed as they were never used.