24.4.0 (2020-12-09)
24.3.0 (2020-12-04)
- highlighter: show default highlighted radius with hidden dots (#926) (8b167a4), closes #679
- xy_chart: improve line joins rendering (#920) (ec8041a)
- point highlight based on geom position and transform (#934) (7198b5d)
- allow no results component, don't require series (#936) (4766c23)
- improved domain error handling (#933) (94534a5)
24.2.0 (2020-11-25)
24.1.0 (2020-11-24)
- area_charts: correctly represent baseline with negative data points (#896) (d1243f1)
- legend: legend sizes with ordinal data (#867) (7559e0d), closes #811
- render orphan data points on lines and areas (#900) (0be282b), closes #783
- specs swaps correctly reflected in state (#901) (7fba882)
- legend: allow legend text to be copyable (#877) (9cd3459), closes #710
- allow clearing series colors from memory (#899) (ab1af38)
- merge series domain with the domain of another group (#912) (325b013)
- small multiples for XY charts (alpha) (#793) (d288208), closes #500 #500
24.0.0 (2020-10-19)
- bar_chart: add Alignment offset to value labels (#784) (363aeb4)
- bar_chart: add shadow prop for value labels (#785) (9b29392)
- bar_chart: scaled font size for value labels (#789) (3bdd1ee), closes #788
- heatmap: allow fixed right margin (#873) (16cf73c)
- bar_chart: The
DisplayValueStyle
fontSize
property can now express an upper and lower bound as size, used for the automatic scaling. - bar_chart: The
DisplayValueStyle
fill
property can now express a border color and width, or let the library pick the best match based on contrast using the textInvertible parameter.
23.2.1 (2020-10-06)
- detect dragging only by the delta changes (#853) (219f9dd)
- filter highlighted y values (#855) (d3ebe77)
23.2.0 (2020-10-06)
- heatmap: adjust pageSize based available chart height (#849) (9aa396b)
- heatmap: destroy canvas bbox calculator when done (#844) (42460bd)
- heatmap: x-axis labels overlapping for time series data (#850) (9ebd879)
- interactions: recognise drag after 100ms and 4px (#848) (70626fe), closes #748
23.1.1 (2020-10-05)
23.1.0 (2020-10-02)
23.0.1 (2020-10-01)
23.0.0 (2020-09-30)
- debug state flag added to chart status (#834) (83919ff)
- expose datum as part of GeometryValue (#822) (dcd7077)
- when rendering non-stacked line/area charts with a continuous x scale and no fit function, the line/area between non-consecutive data points will be rendered as a continuous line/area without adding an uncertain dashed line/ semi-transparent area that connects the two, non-adjacent, points.
22.0.0 (2020-09-22)
- caused by changes in #810 see #830 for more info
TooltipValue.value
is now raw value andTooltipValue.formattedValue
is now the string formatted value.
21.3.2 (2020-09-21)
21.3.1 (2020-09-17)
21.3.0 (2020-09-16)
- cancel brush/click event with escape key (#819) (b599d13)
- show crosshair for external pointer events (#817) (f591a6a)
21.2.0 (2020-09-14)
- blind sorting option for vislib (#813) (8afce43)
- order ordinal values by sum (#814) (5b2758b)
- series: add simple mark formatter (#775) (ab95284)
21.1.2 (2020-09-09)
21.1.1 (2020-09-08)
21.1.0 (2020-09-06)
- brush: histogram brushing last values and rounding (#801) (6d0319f)
- tooltip: series tick formatters (#802) (fbcd92e)
21.0.1 (2020-08-18)
21.0.0 (2020-08-10)
- update dep vulnerabilities, minimist and kind-of (#763) (4455281)
- legend: fix color anchor, add action context, fix action padding (#774) (4590a22)
- tooltip: placement with left/top legends and single bars (#771) (e576b26), closes #769 #770
- the first parameter of
PointStyleAccessor
andBarStyleAccessor
callbacks is changed fromRawDataSeriesDatum
toDataSeriesDatum
.stackAsPercentage
prop is replaced bystackMode
that accept oneStackMode
.
20.0.2 (2020-07-23)
- axis: dual axis x positioning of bars (#760) (71b49f8)
- axis: left axis sizing based on title padding (#762) (3990589)
20.0.1 (2020-07-21)
20.0.0 (2020-07-19)
- axis: -
AxisSpec.gridLineStyle
=>AxisSpec.gridLine
AxisSpec.gridLineStyle
=>AxisSpec.gridLine
AxisSpec.tickLabelRotation
=>AxisStyle.tickLabel.rotation
AxisSpec.tickPadding
=>AxisStyle.tickLine.padding
AxisSpec.tickSize
=>AxisStyle.tickLine.size
AxisStyle.tickLabelPadding
=>AxisStyle.tickLabel.padding
GridLineConfig
=>GridLineStyle
AxisSpec.style
=>RecursivePartial<AxisStyle>
(newAxisStyle
type)AxisConfig.axisLineStyle
=>AxisStyle.axisLine
AxisConfig.axisTitleStyle
=>AxisStyle.axisTitle
AxisConfig.tickLabelStyle
=>AxisStyle.tickLabel
AxisConfig.tickLineStyle
=>AxisStyle.tickLine
GridLineStyle
requires all properties- deprecate
AxisSpec.showGridLines
in favor ofAxisSpec.gridLine.visible
19.9.1 (2020-07-19)
- correct bad breaking change merge (3acc263)
19.9.0 (2020-07-17)
- axis: formatting different for label vs tooltip and legend (#750) (daff503)
- legend: add legend item actions and margins (#749) (8136dca), closes #717
19.8.1 (2020-07-07)
19.8.0 (2020-07-06)
- annotation: enable marker positioning on LineAnnotation (#737) (ab5e413), closes #701
- add custom annotation tooltip (#727) (435c67c)
19.7.0 (2020-06-30)
19.6.3 (2020-06-29)
19.6.2 (2020-06-29)
19.6.1 (2020-06-29)
19.6.0 (2020-06-24)
19.5.2 (2020-06-16)
19.5.1 (2020-06-16)
- graceful scale fallbacks and warnings (#704) (ed49bbb), closes #678
- axis: rotated label positioning (#709) (2e26430), closes #673
- tooltip: popper scroll issue (#712) (0c97c67)
19.5.0 (2020-06-15)
- tooltip: show true opaque colors in tooltips (#629) (23290be), closes #628
- path of stacked area series with missing values (#703) (2541180)
- remove double rendering (#693) (ebf2748), closes #690
- partition: add 4.5 contrast for text in partition slices (#608) (eded2ac), closes #606
- add screenshot functions to partition/goal (#697) (5581c3c)
19.4.1 (2020-06-01)
19.4.0 (2020-05-28)
- partition: enable grooves in all group layers (#666) (f5b4767)
- partition: linked text overflow avoidance (#670) (b6e5911), closes #633
- partition: monotonic font size scaling (#681) (ea2489b), closes #661
- tooltip: improve positioning with popperjs (#651) (6512950), closes #596
19.3.0 (2020-05-08)
19.2.0 (2020-05-05)
19.1.2 (2020-05-04)
19.1.1 (2020-04-30)
19.1.0 (2020-04-30)
19.0.0 (2020-04-28)
- tooltip container scroll issue (#647) (f411771)
- annotations: fix alignment at the edges (#641) (43c5a59), closes #586
- shift click legend items & partition legend hover (#648) (ed91744)
- brush: add multi axis brushing (#625) (9e49534), closes #587 #620
- brush: The type used by the
BrushEndListener
is now in the following form{ x?: [number, number]; y?: Array<{ groupId: GroupId; values: [number, number]; }> }
wherex
contains an array of[min, max]
values, and they
property is an optional array of objects, containing theGroupId
and the values of the brush for that specific axis. - annotations: In the rectangular annotation, the y0 parameter of the coordinates now refers to the minimum value and the y1 value refers to the maximum value of the y domain.
18.4.2 (2020-04-24)
18.4.1 (2020-04-22)
18.4.0 (2020-04-22)
- partition: single slice wrong text positioning (#643) (6298d36), closes #637
- treemap: align onElementClick parameters to sunburst (#636) (2c1d224), closes #624
- allow colorVariant option for series specific color styles (#630) (e5a206d)
- series: BubbleSeries (alpha) and markSizeAccessor (#559) (3aa235e)
18.3.0 (2020-04-15)
- gauge, goal and bullet graph (alpha) (#614) (5669178)
- partition: add legend and highlighters (#616) (6a4247e), closes #486 #532
18.2.2 (2020-04-09)
18.2.1 (2020-04-07)
18.2.0 (2020-03-26)
18.1.0 (2020-03-18)
- remove duplicate tick labels from axis (#577) (e8c89ec), closes #445
- api: cleanup exposed types (#593) (544b7cc)
- partition: general sunburst via slice show control (#592) (5e6a30b)
18.0.0 (2020-03-17)
- clean up TS types (#554) (22f7635), closes #547 #547
- decouple tooltip from XY chart (#553) (e70792e), closes #246
- cleaner color API on SeriesSpec (#571) (f769f7c)
- legend: allow color picker component render prop (#545) (90f4b95)
- partition: add element click, over and out events (#578) (103df02)
- partition: add tooltip (#544) (6bf9a69), closes #246
- percentage display in partitioning charts (#558) (d6aa8d7)
- specify series name with a function on SeriesSpec (#539) (358455a)
- xAccessor can be a function accessor (#574) (bcc3d63)
- The
getSpecId
,getGroupId
,getAxisId
andgetAnnotationId
are no longer available. Use a simplestring
instead. customSeriesColors
prop onSeriesSpec
is nowcolor
. TheCustomSeriesColors
type is replaced withSeriesColorAccessor
.- Remove
customSubSeriesName
prop on series specs in favor of cleaner api using just thename
prop onSeriesSpec
. The typesSeriesStringPredicate
,SubSeriesStringPredicate
have been removed. - the
SeriesIdentifier
type is generalized into a simplified object with two values in common:specId
andkey
. A specializedXYChartSeriesIdentifier
extends now the baseSeriesIdentifier
. TheSettingsSpec
propshowLegendDisplayValue
is renamed toshowLegendExtra
and its default value is nowfalse
hiding the current/last value on the legend by default.
17.1.1 (2020-02-21)
17.1.0 (2020-02-12)
17.0.3 (2020-02-10)
17.0.2 (2020-02-05)
17.0.1 (2020-02-05)
17.0.0 (2020-01-30)
- text improvements (#524) (6e61700)
- listeners: add seriesIdentifiers to element listeners (#525) (027d008), closes #419 #505
- listeners: the
onElementOver
and theonElementClick
are now called withArray<[GeometryValue, SeriesIdentifier]>
instead ofArray<GeometryValue>
- renames in
Partition
charts—Layers
:fillLabel.formatter
->fillLabel.valueFormatter
; typeFillLabel
->FillLabelConfig
Non-breaking changes:
-
feat: the values in linked labels are rendered, just like they have been in the sectors (formerly, the value could optionally be put in the link label accessor itself)
-
feat: font styling is possible separately for values:
valueFormatter
configs -
test: opacity decrease example; coloring examples
-
feat: hierarchical data (
parent
,sortIndex
) is made available to accessors (see stories, helpful with eg. coloring) -
refactor: tighter types; other code improvements
16.2.1 (2020-01-23)
16.2.0 (2020-01-21)
16.1.0 (2020-01-08)
16.0.2 (2020-01-03)
16.0.1 (2020-01-03)
16.0.0 (2020-01-02)
- external pointer: The
onCursorUpdate
Settings property is changed to a more genericonPointerUpdate
. The same apply for the event typeCursorEvent
that is nowPointerEvent
and can assume aPointerOverEvent
orPointOutEvent
shape (see TS types)
15.0.5 (2019-12-12)
15.0.4 (2019-12-12)
15.0.3 (2019-12-05)
15.0.2 (2019-12-05)
15.0.1 (2019-12-02)
15.0.0 (2019-12-02)
- series identifications throughout library (#419) (66a48ff)
- use redux in favour of mobx (#281) (cd34716)
GeometryId
is nowSeriesIdentifier
.customSeriesColors
prop onSeriesSpec
which used to take aCustomSeriesColorsMap
, now expects aCustomSeriesColors
type.LegendItemListener
now passes theSeriesIdentifier
type as the first callback argument.SpecId
,AxisId
,AnnotationId
types are down-casted to astring
type. ThegetSpecId
,getAxisId
andgetAnnotationId
methods still exist and but return just the same passed string until deprecated in a future version. The spec ids, previouslyid
,axisId
,annotationId
etc are now aligned to use the same prop name:id
. The chart rendering statusdata-ech-render-complete
anddata-ech-render-count
is no more at the root level of theechChart
div, but on its child element:echChartStatus
. TheSpec
has two new private properties calledchartType
andspecType
.
14.2.0 (2019-11-25)
14.1.0 (2019-11-13)
14.0.0 (2019-11-11)
- typings: We have a few exported styles, used in the Theme that are changed: SharedGeometryStyle to SharedGeometryStateStyle and GeometryStyle to GeometryStateStyle
13.6.0 (2019-11-01)
13.5.12 (2019-10-31)
13.5.11 (2019-10-31)
13.5.10 (2019-10-31)
13.5.9 (2019-10-25)
13.5.8 (2019-10-25)
13.5.7 (2019-10-23)
13.5.6 (2019-10-22)
13.5.5 (2019-10-22)
13.5.4 (2019-10-17)
13.5.3 (2019-10-17)
13.5.2 (2019-10-10)
13.5.1 (2019-10-09)
13.5.0 (2019-10-09)
13.4.1 (2019-10-09)
13.4.0 (2019-10-07)
13.3.0 (2019-10-02)
13.2.0 (2019-10-01)
13.1.1 (2019-09-28)
13.1.0 (2019-09-27)
13.0.1 (2019-09-27)
13.0.0 (2019-09-19)
- axis:
theme.axes.tickLineStyle.visible
is now required (default base istrue
)
12.1.0 (2019-09-19)
12.0.2 (2019-09-16)
12.0.1 (2019-09-12)
12.0.0 (2019-09-11)
-
theme: Added
GridLineStyle
toTheme
(theme.axes.gridLineStyle.horizontal
andtheme.axes.gridLineStyle.vertical
) -
add gridLineStyle to AxisConfig
-
add chartTheme vs axisSpec
-
add gridLineStyle for theme or spec
-
merge gridLineConfig from theme with axisSpec
-
add visible key to GridLineConfig
-
specify theme styling per axis in story
-
add gridLineStyle theme with horiz and vert
11.2.0 (2019-09-04)
11.1.2 (2019-08-30)
11.1.1 (2019-08-28)
11.1.0 (2019-08-27)
11.0.5 (2019-08-27)
11.0.4 (2019-08-27)
11.0.3 (2019-08-26)
11.0.2 (2019-08-26)
11.0.1 (2019-08-26)
11.0.0 (2019-08-26)
- histogram: The current coordinate configuration of a rect annotation were inverted. This commit now reverse them: a rect coordinate with only the x0 value will cover from the x0 value to the end of the domain, a rect coordinate with only the x1 value will cover the interval from the beginning of the domain till the x1 value.
10.3.1 (2019-08-26)
10.3.0 (2019-08-26)
10.2.0 (2019-08-23)
10.1.1 (2019-08-22)
10.1.0 (2019-08-22)
10.0.1 (2019-08-21)
10.0.0 (2019-08-21)
- tooltip: ie11 flex sizing (#334) (abaa472), closes #332
- decuple brush cursor from chart rendering (#331) (789f85a), closes elastic/kibana#36517
- remove clippings from chart geometries (#320) (ed6d0e5), closes #20
- auto legend resize (#316) (659d27e), closes #268
- customize number of axis ticks (#319) (2b838d7)
- theme: base theme prop (#333) (a9ff5e1), closes #292
- theme: remove
baseThemeType
prop onSettings
component andBaseThemeTypes
type. theme.legend.spacingBuffer
added toTheme
type. Controls the width buffer between the legend label and value.
9.2.1 (2019-08-20)
9.2.0 (2019-08-19)
9.1.1 (2019-08-16)
9.1.0 (2019-08-14)
9.0.4 (2019-08-13)
9.0.3 (2019-08-13)
9.0.2 (2019-08-12)
9.0.1 (2019-08-07)
9.0.0 (2019-08-05)
- bar_chart: colorAccessors removed from YBasicSeriesSpec (aka for all series) which had acted similarly to a split accessor.
8.1.8 (2019-08-05)
8.1.7 (2019-08-05)
8.1.6 (2019-08-05)
8.1.5 (2019-08-02)
8.1.4 (2019-08-01)
8.1.3 (2019-07-30)
8.1.2 (2019-07-24)
8.1.1 (2019-07-24)
8.1.0 (2019-07-22)
8.0.2 (2019-07-17)
8.0.1 (2019-07-15)
8.0.0 (2019-07-15)
-
style:
LineStyle
,AreaStyle
andBarSeriesStyle
types differs on the optional values.stroke
andfill
on the theme or specific series style now override the computed series color. -
legend: the
onLegendItemClick
click handler is no longer applied when clicking on the title. Instead a simple visibility change is applied.
7.2.1 (2019-07-10)
7.2.0 (2019-07-05)
7.1.0 (2019-07-03)
7.0.2 (2019-07-03)
7.0.1 (2019-06-25)
7.0.0 (2019-06-24)
- annotation: this changes the type signature of
RectAnnotation.renderTooltip?
from(position, details) => JSX.Element
to(details) => JSX.Element
. This allows the user to pass in a custom element without having to do the heavy lifting of writing the container positioning styles themselves.
6.3.0 (2019-06-20)
6.2.0 (2019-06-19)
6.1.0 (2019-06-19)
6.0.1 (2019-06-14)
6.0.0 (2019-06-13)
- tooltip: Previously, you could define
tooltipType
andtooltipSnap
props in a Settings component; this commit removes these fromSettingsSpecProps
and instead there is a singletooltip
prop which can accept either aTooltipType
or a fullTooltipProps
object which may includetype
,snap
, and/orheaderFormattter
for formatting the header.
5.2.0 (2019-06-12)
5.1.0 (2019-06-11)
5.0.0 (2019-06-10)
- css: EUI components are removed from this library. The single chart
style.css
stylesheet is now replaced by atheme_only_light.css
ortheme_only_dark.css
file that brings in all the required styling for chart, tooltip and legends.theme_light.css
andtheme_dark.css
styles include also a reset CSS style
4.2.9 (2019-06-07)
4.2.8 (2019-06-06)
4.2.7 (2019-06-05)
4.2.6 (2019-05-21)
4.2.5 (2019-05-21)
4.2.4 (2019-05-21)
4.2.3 (2019-05-20)
4.2.2 (2019-05-20)
4.2.1 (2019-05-09)
4.2.0 (2019-05-06)
4.1.0 (2019-05-04)
4.0.2 (2019-05-03)
4.0.1 (2019-05-02)
4.0.0 (2019-04-28)
- scales: the
ScalesConfig
type of the theme is changed from{ordinal:{padding: number}}
to{barsPadding: number}
3.11.4 (2019-04-26)
3.11.3 (2019-04-24)
3.11.2 (2019-04-16)
3.11.1 (2019-04-16)
3.11.0 (2019-04-16)
3.10.2 (2019-04-12)
3.10.1 (2019-04-11)
- temporary disable animation (#164) (80b3231), closes #89 #41 #161
- temporary disable animation (#164) (c53c8a6), closes #89 #41 #161
3.10.0 (2019-04-11)
3.9.0 (2019-04-10)
3.8.0 (2019-04-08)
3.7.2 (2019-04-08)
3.7.1 (2019-04-05)
3.7.0 (2019-04-04)
3.6.0 (2019-04-04)
3.5.1 (2019-04-02)
3.5.0 (2019-04-01)
3.4.5 (2019-03-29)
- animation: re-enabled animateData prop to disable animation (#129) (32b4263)
- specs: limit xScaleType to linear, time and ordinal (#127) (59c3b70), closes #122
3.4.4 (2019-03-28)
3.4.3 (2019-03-26)
3.4.2 (2019-03-26)
3.4.1 (2019-03-26)
3.4.0 (2019-03-25)
3.3.1 (2019-03-25)
3.3.0 (2019-03-22)
3.2.0 (2019-03-19)
3.1.1 (2019-03-19)
- npm: add missing generated file to npm package (6dd9140)
3.1.0 (2019-03-11)
3.0.1 (2019-03-08)
3.0.0 (2019-03-06)
- scale: return ticks in millis for time scales for line/area charts (8b46283)
- scale: The props callback is called with millis instead of Date for axis on line or area only charts.
2.1.0 (2019-03-06)
2.0.0 (2019-02-19)
- The
Theme.AxisConfig
type has a different signature. It now containsaxisTitleStyle
,axisLineStyle
,tickLabelStyle
andtickLineStyle
defined asTextStyle
orStrokeStyle
elements. TheTheme
interface is changed in a more flat structure.darkMode
prop fromSetting
is removed.theme
prop inSetting
is now aTheme
type object, not aPartialTheme
. You can usemergeWithDefaultTheme
function to merge an existing theme with a partial one.
1.1.1 (2019-02-15)
1.1.0 (2019-02-14)
1.0.2 (2019-02-08)
1.0.1 (2019-02-07)
- reflect specs ids on legend items when using single series (8b39f15)
- axis: add axisTitleHeight to axis increments (#29) (e34f0ae), closes #26
- axis: fix horizontal title positioning to account for title padding (08d1f83)
- axis: scale tick labels to fix text truncation on chrome (#38) (99c2332), closes #18
- axis: use titleFontSize for debug rect for horizontal axis title (#17) (af4aa58), closes #11
- dimensions: use chart top padding in computation of chart height (42585f7), closes #13
- x_domain: fix x value asc sorting using numbers (26b33ff)