@elastic/charts
Advanced tools
Changelog
2.0.0 (2019-02-19)
Theme.AxisConfig
type has a different signature.
It now contains axisTitleStyle
, axisLineStyle
, tickLabelStyle
and
tickLineStyle
defined as TextStyle
or StrokeStyle
elements.
The Theme
interface is changed in a more flat structure.
darkMode
prop from Setting
is removed.
theme
prop in Setting
is now a Theme
type object, not a PartialTheme
.
You can use mergeWithDefaultTheme
function to merge an existing theme
with a partial one.