Skip to content

Latest commit

 

History

History
2169 lines (1006 loc) · 123 KB

CHANGELOG.md

File metadata and controls

2169 lines (1006 loc) · 123 KB

33.0.2 (2021-07-20)

Bug Fixes

33.0.1 (2021-07-16)

Bug Fixes

33.0.0 (2021-07-14)

Features

BREAKING CHANGES

  • xy: an API change is introduced: hideClippedValue is removed in favor of overflowConstraints?: Array<LabelOverflowConstraint>;. The array can contain one or multiple overflow constraints enumerated as LabelOverflowConstraint

32.0.0 (2021-07-12)

chore

Features

  • a11y: allow user to add optional semantic meaning to goal/gauge charts (#1218) (87629e2), closes #1161

BREAKING CHANGES

  • license: the library is released now under Elastic License 2.0 and SSPL

31.1.0 (2021-07-06)

Bug Fixes

Features

31.0.0 (2021-06-29)

Bug Fixes

Features

  • annotations: option to render rect annotations outside chart (#1207) (4eda382)
  • heatmap: enable brushing on categorical charts (#1212) (10c3493), closes #1170 #1171
  • xy: add onPointerUpdate debounce and trigger options (#1194) (a9a9b25)

BREAKING CHANGES

  • xy: the PointerOverEvent type now extends ProjectedValues and drops value. This effectively replaces value with x, y, smVerticalValue and smHorizontalValue.

30.2.0 (2021-06-10)

Features

  • a11y: add data table for screen readers (sunburst, treemap, icicle, flame) (#1155) (87fd75f), closes #1154

30.1.0 (2021-06-08)

Features

30.0.0 (2021-06-04)

Bug Fixes

  • domain: custom domain should not filter data (#1181) (76e8dca), closes #1129
  • value_labels: zero as a valid value for textBorder and borderWidth (#1182) (a64f333)
  • annotation tooltip display when remounting specs (#1167) (8408600)
  • render nodeLabel formatted text into the nodes (#1173) (b44bdff)

Features

BREAKING CHANGES

  • value_labels: the textBorder of ValueFillDefinition is now optional or a number only
  • axis: domain.padding now only takes a number value. If you are using a percent-based padding such as '10%' please set domain.padding to 0.1 and domain.paddingUnit to DomainPaddingUnit.DomainRatio.
  • axis: yScaleToDataExtent is removed in favor of domain.fit. The functionality is the same.

29.2.0 (2021-05-25)

Bug Fixes

  • legend: disable handleLabelClick for one legend item (#1134) (a7242af), closes #1055

Features

29.1.0 (2021-04-23)

Bug Fixes

Features

29.0.0 (2021-04-22)

Features

BREAKING CHANGES

  • a11y: description prop in <Settings/> is renamed to ariaDescription

Co-authored-by: Marco Vettorello vettorello.marco@gmail.com

28.2.0 (2021-04-15)

Bug Fixes

Features

28.1.0 (2021-04-13)

Bug Fixes

Features

28.0.1 (2021-04-06)

Bug Fixes

  • filter out zero values on fitted log domains (#1057) (88d71ff)

28.0.0 (2021-04-02)

Bug Fixes

  • annotations: provide fallback for line annotation markers (#1091) (0bd61f1)
  • legend: action sizing ui and focus states (#1102) (3a76a2c)
  • legend: stop legend color picker dot twitching (#1101) (c89b767)

Code Refactoring

BREAKING CHANGES

  • AnnotationDomainTypes, AnnotationTypes, SeriesTypes, ChartTypes, and SpecTypes are renamed to AnnotationDomainType, AnnotationType, SeriesType, ChartType, and SpecType

27.0.0 (2021-03-31)

Features

BREAKING CHANGES

  • partitions: the flatLegend (true) option yields alphabetical, formatted name based sorting for unique name/color occurrences, to make it easy for the user to look up names in the legend as it's alphabetically sorted

26.1.0 (2021-03-26)

Features

26.0.0 (2021-03-23)

Features

BREAKING CHANGES

  • partition: clarifies the inner/outer padding notation <SmallMultiples style={{horizontalPanelPadding, verticalPanelPadding}} from [outer, inner] to {outer, inner}—they still have the same effect

25.4.0 (2021-03-23)

Bug Fixes

Features

25.3.0 (2021-03-11)

Bug Fixes

Features

25.2.0 (2021-03-09)

Bug Fixes

Features

  • partition: flame and icicle performance and tweening (#1041) (a9648a4)

25.1.1 (2021-03-05)

Bug Fixes

  • clippedRanges when complete dataset is null (#1037) (51418d2)
  • tooltip: allow explicit boundary element (#1049) (5cf8461)

25.1.0 (2021-03-01)

Bug Fixes

  • rounding values on stacked w percentage charts (#1039) (ee63a70)

Features

  • axis: log scale limit and base options (#1032) (b38d110)
  • partition: clip text in partition chart fill label (#1033) (be9bea0)

25.0.1 (2021-02-17)

Reverts

25.0.0 (2021-02-16)

Bug Fixes

  • group legend items by label and color (#999) (5d32f23)

Features

  • axis: log scale improvements and options (#1014) (0f52688)

BREAKING CHANGES

  • The LegendActionProps and the LegendColorPickerProps, used to add actions and color picker through the legend now receive an array of SeriesIdentifiers

24.6.0 (2021-02-15)

Bug Fixes

Features

24.5.1 (2021-02-05)

Bug Fixes

24.5.0 (2021-01-30)

Bug Fixes

  • add theme min radius to point shape (#996) (eb37175)
  • align tooltip z-index to EUI tooltip z-index (#931) (ffd626b)
  • chart state and series functions cleanup (#989) (944ac6c)
  • create unique ids for dot icons (#971) (e1ce768)
  • external tooltip legend extra value sync (#993) (13ad05a)
  • legend: disable focus and keyboard navigation for legend in partition ch… (#952) (03bd2f7)
  • legend: hierarchical legend order should follow the tree paths (#947) (f9218ad), closes #944
  • legend: remove ids for circles (#973) (b3f4f90)

Features

  • cursor: improve theme styling for crosshair (#980) (6c4dafd)
  • legend: display pie chart legend extra (#939) (d14de01)
  • legend: add keyboard navigation (#880) (87c227d)
  • partition: Flame and icicle chart (#965) (3df73d0)
  • partition: legend hover options (#978) (f810d94)
  • xy: support multiple point shapes on line, area and bubble charts (#988) (1392b7d)

24.4.0 (2020-12-09)

Bug Fixes

Features

  • allow use of functions for y, y0, split and stack accessors (#943) (22425d3)

24.3.0 (2020-12-04)

Bug Fixes

  • 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)

Features

  • allow no results component, don't require series (#936) (4766c23)
  • improved domain error handling (#933) (94534a5)

24.2.0 (2020-11-25)

Bug Fixes

  • near and far alignments for orthogonal rotations (#911) (cb279f3)

Features

24.1.0 (2020-11-24)

Bug Fixes

  • 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)

Features

24.0.0 (2020-10-19)

Bug Fixes

  • annotation: annotation rendering with no yDomain or groupId (#842) (f173b49), closes #438 #798

Features

  • 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)

BREAKING CHANGES

  • 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)

Bug Fixes

23.2.0 (2020-10-06)

Bug Fixes

  • 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

Features

  • heatmap tooltip enhancements and fixes (#847) (d879e05)

23.1.1 (2020-10-05)

Bug Fixes

  • limit annotation to the current domain extent (#841) (4186962), closes #832

23.1.0 (2020-10-02)

Features

23.0.1 (2020-10-01)

Bug Fixes

  • legend item label for functional tests (#843) (c2d3283)

23.0.0 (2020-09-30)

Bug Fixes

  • render continuous line/area between non-adjacent points (#833) (9f9892b), closes #825

Features

  • debug state flag added to chart status (#834) (83919ff)
  • expose datum as part of GeometryValue (#822) (dcd7077)

BREAKING CHANGES

  • 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)

Bug Fixes

  • breaking change in patch release of 21.1.1 (d0ddc45), closes #810

BREAKING CHANGES

  • caused by changes in #810 see #830 for more info
  • TooltipValue.value is now raw value and TooltipValue.formattedValue is now the string formatted value.

21.3.2 (2020-09-21)

Bug Fixes

  • axis: style overrides not applied to axis dimensions (#829) (62172c4)

21.3.1 (2020-09-17)

Bug Fixes

21.3.0 (2020-09-16)

Bug Fixes

Features

  • cancel brush/click event with escape key (#819) (b599d13)
  • show crosshair for external pointer events (#817) (f591a6a)

21.2.0 (2020-09-14)

Features

21.1.2 (2020-09-09)

Bug Fixes

21.1.1 (2020-09-08)

Bug Fixes

  • build issues and tooltip formatting issues (#810) (74d9ae0)

21.1.0 (2020-09-06)

Bug Fixes

  • axis: misaligned axis with rotated histogram bar charts (#805) (6c454e1)

Features

  • brush: histogram brushing last values and rounding (#801) (6d0319f)
  • tooltip: series tick formatters (#802) (fbcd92e)

21.0.1 (2020-08-18)

Bug Fixes

21.0.0 (2020-08-10)

Bug Fixes

  • 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

Features

BREAKING CHANGES

  • the first parameter of PointStyleAccessor and BarStyleAccessor callbacks is changed from RawDataSeriesDatum to DataSeriesDatum. stackAsPercentage prop is replaced by stackMode that accept one StackMode.

20.0.2 (2020-07-23)

Bug Fixes

  • 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)

Bug Fixes

  • custom domain error with fallback ordinal scale (#757) (142c3df), closes #756

20.0.0 (2020-07-19)

Features

BREAKING CHANGES

  • 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> (new AxisStyle 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 of AxisSpec.gridLine.visible

19.9.1 (2020-07-19)

Bug Fixes

  • correct bad breaking change merge (3acc263)

19.9.0 (2020-07-17)

Features

  • 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)

Bug Fixes

  • axes: remove only consecutive duplicated ticks (#742) (5038a63), closes #667

19.8.0 (2020-07-06)

Bug Fixes

Features

  • annotation: enable marker positioning on LineAnnotation (#737) (ab5e413), closes #701
  • add custom annotation tooltip (#727) (435c67c)

19.7.0 (2020-06-30)

Bug Fixes

  • partition: linked label on a larger than 180 degree slice (#726) (2504bbe), closes #699

Features

19.6.3 (2020-06-29)

Bug Fixes

  • move redux dev deps to optional deps (#725) (df984cc)

19.6.2 (2020-06-29)

Bug Fixes

19.6.1 (2020-06-29)

Bug Fixes

19.6.0 (2020-06-24)

Features

19.5.2 (2020-06-16)

Bug Fixes

  • apply fixed positioning to hidden tooltip (#716) (12b1135)

19.5.1 (2020-06-16)

Bug Fixes

19.5.0 (2020-06-15)

Bug Fixes

Features

  • 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)

Bug Fixes

19.4.0 (2020-05-28)

Bug Fixes

  • partition: consider legendMaxDepth on legend size (#654) (9429dcf), closes #639

Features

19.3.0 (2020-05-08)

Bug Fixes

Features

  • partition: linked text maximum length config (#665) (7166e42)

19.2.0 (2020-05-05)

Features

19.1.2 (2020-05-04)

Bug Fixes

19.1.1 (2020-04-30)

Bug Fixes

19.1.0 (2020-04-30)

Features

  • partition: treemap group text in grooves (#652) (304dd48)

19.0.0 (2020-04-28)

Bug Fixes

Features

BREAKING CHANGES

  • brush: The type used by the BrushEndListener is now in the following form { x?: [number, number]; y?: Array<{ groupId: GroupId; values: [number, number]; }> } where x contains an array of [min, max] values, and the y property is an optional array of objects, containing the GroupId 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)

Bug Fixes

18.4.1 (2020-04-22)

Bug Fixes

18.4.0 (2020-04-22)

Bug Fixes

  • partition: single slice wrong text positioning (#643) (6298d36), closes #637
  • treemap: align onElementClick parameters to sunburst (#636) (2c1d224), closes #624

Features

  • allow colorVariant option for series specific color styles (#630) (e5a206d)
  • series: BubbleSeries (alpha) and markSizeAccessor (#559) (3aa235e)

18.3.0 (2020-04-15)

Bug Fixes

  • remove series with undefined splitSeriesAccessor values (#627) (59f0f6e)

Features

18.2.2 (2020-04-09)

Bug Fixes

18.2.1 (2020-04-07)

Bug Fixes

18.2.0 (2020-03-26)

Bug Fixes

  • line_annotation: keep the spec in state after chart rerender (#605) (43c13f1), closes #604

Features

  • partition: stroke configuration and linked label value font format (#602) (7dce0a3)

18.1.0 (2020-03-18)

Bug Fixes

  • add unicorn eslint as dev dependency (#591) (30fd07c)

Features

18.0.0 (2020-03-17)

Code Refactoring

Features

  • 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)

BREAKING CHANGES

  • The getSpecId, getGroupId, getAxisId and getAnnotationId are no longer available. Use a simple string instead.
  • customSeriesColors prop on SeriesSpec is now color. The CustomSeriesColors type is replaced with SeriesColorAccessor.
  • Remove customSubSeriesName prop on series specs in favor of cleaner api using just the name prop on SeriesSpec. The types SeriesStringPredicate, SubSeriesStringPredicate have been removed.
  • the SeriesIdentifier type is generalized into a simplified object with two values in common: specId and key. A specialized XYChartSeriesIdentifier extends now the base SeriesIdentifier. The SettingsSpec prop showLegendDisplayValue is renamed to showLegendExtra and its default value is now false hiding the current/last value on the legend by default.

17.1.1 (2020-02-21)

Bug Fixes

  • redux connect memo issue related to spec upserting (#563) (f3a05f1)

17.1.0 (2020-02-12)

Features

  • remove konva and add native canvas rendering (#540) (08a4d5d)

17.0.3 (2020-02-10)

Bug Fixes

  • ie11: replace fast-deep-equal with an internal copy IE11 safe (#542) (2a02d7d)

17.0.2 (2020-02-05)

Bug Fixes

  • empty domain error for ordinal x scale (#536) (ce4e84f)

17.0.1 (2020-02-05)

Bug Fixes

  • replace PureComponent with shouldComponentUpdate (#534) (5043725)

17.0.0 (2020-01-30)

Bug Fixes

Features

BREAKING CHANGES

  • listeners: the onElementOver and the onElementClick are now called with Array<[GeometryValue, SeriesIdentifier]> instead of Array<GeometryValue>
  • renames in Partition charts— Layers: fillLabel.formatter->fillLabel.valueFormatter; type FillLabel-> 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)

Bug Fixes

16.2.0 (2020-01-21)

Features

  • implement treemap, sunburst, pie and donut charts (#493) (e4de627)

16.1.0 (2020-01-08)

Features

16.0.2 (2020-01-03)

Bug Fixes

16.0.1 (2020-01-03)

Bug Fixes

  • specs: shows a chart message without series specified (#506) (ba1a67b)

16.0.0 (2020-01-02)

Bug Fixes

  • external pointer: avoid recursive-loops on pointer events (#503) (c170f0d), closes #504

BREAKING CHANGES

  • external pointer: The onCursorUpdate Settings property is changed to a more generic onPointerUpdate. The same apply for the event type CursorEvent that is now PointerEvent and can assume a PointerOverEvent or PointOutEvent shape (see TS types)

15.0.5 (2019-12-12)

Bug Fixes

15.0.4 (2019-12-12)

Bug Fixes

15.0.3 (2019-12-05)

Bug Fixes

15.0.2 (2019-12-05)

Bug Fixes

  • crosshair: hide horizontal line when the pointer is outside chart (#484) (654d929), closes #483

15.0.1 (2019-12-02)

Bug Fixes

15.0.0 (2019-12-02)

Code Refactoring

BREAKING CHANGES

  • GeometryId is now SeriesIdentifier. customSeriesColors prop on SeriesSpec which used to take a CustomSeriesColorsMap, now expects a CustomSeriesColors type. LegendItemListener now passes the SeriesIdentifier type as the first callback argument.
  • SpecId,AxisId, AnnotationId types are down-casted to a string type. The getSpecId, getAxisId and getAnnotationId methods still exist and but return just the same passed string until deprecated in a future version. The spec ids, previously id, axisId,annotationId etc are now aligned to use the same prop name: id. The chart rendering status data-ech-render-complete and data-ech-render-count is no more at the root level of the echChart div, but on its child element: echChartStatus. The Spec has two new private properties called chartType and specType.

14.2.0 (2019-11-25)

Features

14.1.0 (2019-11-13)

Features

14.0.0 (2019-11-11)

Code Refactoring

  • typings: prepare for upgrade TS to 3.7 (#402) (e2700de)

BREAKING CHANGES

  • 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)

Features

13.5.12 (2019-10-31)

Bug Fixes

13.5.11 (2019-10-31)

Bug Fixes

  • tooltip: render tooltip on portal to avoid hidden overflows (#418) (1c00e23), closes #375

13.5.10 (2019-10-31)

Bug Fixes

  • legend: disable fade of other charts when hiding an item (#446) (ff4e097)

13.5.9 (2019-10-25)

Bug Fixes

13.5.8 (2019-10-25)

Bug Fixes

13.5.7 (2019-10-23)

Bug Fixes

  • switch to momentjs to handle timezones (#436) (a9f98c8)

13.5.6 (2019-10-22)

Bug Fixes

  • tickformatter: add timeZone to tickFormatter (#430) (6256d4d), closes #427

13.5.5 (2019-10-22)

Bug Fixes

  • resize observer loop limit exception (#429) (5243ef3)

13.5.4 (2019-10-17)

Bug Fixes

13.5.3 (2019-10-17)

Bug Fixes

  • align series names on split series configuration (#421) (bbecbcc), closes #420

13.5.2 (2019-10-10)

Bug Fixes

  • handle null y0 values on y log scale rendering (#413) (5731c10)

13.5.1 (2019-10-09)

Bug Fixes

  • mixing bars with line or area series breaks legend toggle (#410) (57c0e3c), closes #399

13.5.0 (2019-10-09)

Features

  • data: fill datasets with zeros with missing points when stacked (#409) (ef84fd4), closes #388

13.4.1 (2019-10-09)

Bug Fixes

13.4.0 (2019-10-07)

Features

13.3.0 (2019-10-02)

Features

  • tooltip: tooltip label format for upper/lower banded area series (#391) (dfd5d7b), closes #162

13.2.0 (2019-10-01)

Features

13.1.1 (2019-09-28)

Bug Fixes

  • rendering: out-of-domain rendering of points/bars/lines/areas (#395) (b6fee52), closes #386

13.1.0 (2019-09-27)

Features

  • axis: add option for integer only axis ticks (#389) (4fcfe3c), closes #387

13.0.1 (2019-09-27)

Bug Fixes

13.0.0 (2019-09-19)

Features

BREAKING CHANGES

  • axis: theme.axes.tickLineStyle.visible is now required (default base is true)

12.1.0 (2019-09-19)

Features

12.0.2 (2019-09-16)

Bug Fixes

  • reactive_chart: fix order of instantiation of onBrushEnd callback (#376) (527d68d), closes #360

12.0.1 (2019-09-12)

Bug Fixes

12.0.0 (2019-09-11)

Features

BREAKING CHANGES

  • theme: Added GridLineStyle to Theme (theme.axes.gridLineStyle.horizontal and theme.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)

Features

  • chart_state: add render change event (#365) (521889b)

11.1.2 (2019-08-30)

Bug Fixes

11.1.1 (2019-08-28)

Bug Fixes

11.1.0 (2019-08-27)

Features

  • add prop to set debounce time, lower default (#356) (38e41e0)

11.0.5 (2019-08-27)

Bug Fixes

11.0.4 (2019-08-27)

Bug Fixes

  • crosshair: limit the width of the cursor band on edges (#353) (1177e59), closes #352

11.0.3 (2019-08-26)

Bug Fixes

  • vertical_cursor: fix tooltip and external events for 1st datapoint (#349) (5c5b8d4)

11.0.2 (2019-08-26)

Bug Fixes

  • better theme defaults for light and dark themes (#340) (693cdc1)

11.0.1 (2019-08-26)

Bug Fixes

11.0.0 (2019-08-26)

Bug Fixes

BREAKING CHANGES

  • 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)

Bug Fixes

10.3.0 (2019-08-26)

Features

10.2.0 (2019-08-23)

Features

10.1.1 (2019-08-22)

Bug Fixes

  • crosshair: disable band when chart is empty (#338) (3bd0c43), closes #337

10.1.0 (2019-08-22)

Features

10.0.1 (2019-08-21)

Bug Fixes

10.0.0 (2019-08-21)

Bug Fixes

Features

BREAKING CHANGES

  • theme: remove baseThemeType prop on Settings component and BaseThemeTypes type.
  • theme.legend.spacingBuffer added to Theme type. Controls the width buffer between the legend label and value.

9.2.1 (2019-08-20)

Bug Fixes

  • tooltip: fix duplicate key warning for band area charts (#327) (0ca1884), closes #326

9.2.0 (2019-08-19)

Bug Fixes

  • reduce opacity for points when hovering over legend items (#322) (196341b), closes #291

Features

9.1.1 (2019-08-16)

Bug Fixes

  • axis: limit chart dimensions to avoid axis labels overflow (#314) (5751ce0)

9.1.0 (2019-08-14)

Features

9.0.4 (2019-08-13)

Bug Fixes

9.0.3 (2019-08-13)

Bug Fixes

9.0.2 (2019-08-12)

Bug Fixes

  • shift bars independently from the specs order (#302) (1cd934d)

9.0.1 (2019-08-07)

Bug Fixes

9.0.0 (2019-08-05)

Features

BREAKING CHANGES

  • bar_chart: colorAccessors removed from YBasicSeriesSpec (aka for all series) which had acted similarly to a split accessor.

8.1.8 (2019-08-05)

Bug Fixes

  • tooltip: fix tooltip formatting for rotated charts (#285) (651edd1), closes #273

8.1.7 (2019-08-05)

Bug Fixes

  • tooltip: fix overflow for long series names (#274) (717486f), closes #270

8.1.6 (2019-08-05)

Bug Fixes

8.1.5 (2019-08-02)

Bug Fixes

  • disable tooltip when details or custom content is null (#280) (4d78fdc)

8.1.4 (2019-08-01)

Bug Fixes

  • theme: restore original point radius values (#276) (16f789a)

8.1.3 (2019-07-30)

Bug Fixes

8.1.2 (2019-07-24)

Bug Fixes

  • export GeometryValue so onElementClick callbacks can be typed (#272) (8ed5d11)

8.1.1 (2019-07-24)

Bug Fixes

  • handle chart click as mouseUp to prevent click while brushing (#269) (7881b8d)

8.1.0 (2019-07-22)

Features

  • display empty chart status when no series is selected (f1505df), closes #102

8.0.2 (2019-07-17)

Bug Fixes

  • adjust domain & range for single value histogram (#265) (3f1358e)

8.0.1 (2019-07-15)

Bug Fixes

  • position tooltip within chart with single value xScale (#259) (f458bc9)

8.0.0 (2019-07-15)

Code Refactoring

Features

  • style: allow fill and stroke overrides (#258) (99c5e9f)

BREAKING CHANGES

  • style: LineStyle, AreaStyle and BarSeriesStyle types differs on the optional values. stroke and fill 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)

Bug Fixes

  • last_value: compute last value for non stacked series (#261) (803c34e)

7.2.0 (2019-07-05)

Bug Fixes

  • ticks: fill in additional ticks for histogram (#251) (af92736)

Features

7.1.0 (2019-07-03)

Features

7.0.2 (2019-07-03)

Bug Fixes

7.0.1 (2019-06-25)

Bug Fixes

7.0.0 (2019-06-24)

Features

  • annotation: simplify custom tooltip function (#247) (982bc63)

BREAKING CHANGES

  • 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)

Features

6.2.0 (2019-06-19)

Features

  • add minInterval option for custom xDomain (#240) (27f14a0)

6.1.0 (2019-06-19)

Features

  • brush: show crosshair cursor when brush enabled (#243) (0b44b87)

6.0.1 (2019-06-14)

Bug Fixes

  • line_annotation: use scaleAndValidate for line annotations (#236) (48b180a)

6.0.0 (2019-06-13)

Features

BREAKING CHANGES

  • tooltip: Previously, you could define tooltipType and tooltipSnap props in a Settings component; this commit removes these from SettingsSpecProps and instead there is a single tooltip prop which can accept either a TooltipType or a full TooltipProps object which may include type, snap, and/or headerFormattter for formatting the header.

5.2.0 (2019-06-12)

Features

5.1.0 (2019-06-11)

Features

5.0.0 (2019-06-10)

Bug Fixes

  • css: remove dependency on EUI components and use only EUI styles (#208) (122fade)

BREAKING CHANGES

  • css: EUI components are removed from this library. The single chart style.css stylesheet is now replaced by a theme_only_light.css or theme_only_dark.css file that brings in all the required styling for chart, tooltip and legends. theme_light.css and theme_dark.css styles include also a reset CSS style

4.2.9 (2019-06-07)

Bug Fixes

  • chart_resizer: debounce resize only after initial render (#229) (96d3fd6), closes #109

4.2.8 (2019-06-06)

Bug Fixes

  • crosshair: adjust band position for rotation (#220) (ac02021)

4.2.7 (2019-06-05)

Bug Fixes

  • axis_title: remove whitespace with empty axis title (#226) (74198dc), closes #225

4.2.6 (2019-05-21)

Bug Fixes

  • build: compile module resolution in commonjs (#214) (29e2a34)

4.2.5 (2019-05-21)

Bug Fixes

4.2.4 (2019-05-21)

Bug Fixes

  • eui: generate css without EUI classes (#210) (776387b)

4.2.3 (2019-05-20)

Bug Fixes

  • legend: avoid expanding label on click (#209) (22cad8e)

4.2.2 (2019-05-20)

Bug Fixes

  • ie11: fix deps and layout compatibility issues on IE11 (9555e2a), closes #184

4.2.1 (2019-05-09)

Bug Fixes

  • eui: update EUI dependency to 11.0.0 (#206) (24779cb)

4.2.0 (2019-05-06)

Features

  • rect_annotation: add RectAnnotation type (#180) (b339318)

4.1.0 (2019-05-04)

Features

  • add option to toggle value labels on bar charts (#182) (6d8ec0e)

4.0.2 (2019-05-03)

Bug Fixes

  • scales: improve ticks for time domains spanning a DST switch (#204) (2713336)

4.0.1 (2019-05-02)

Bug Fixes

4.0.0 (2019-04-28)

Features

BREAKING CHANGES

  • scales: the ScalesConfig type of the theme is changed from {ordinal:{padding: number}} to {barsPadding: number}

3.11.4 (2019-04-26)

Bug Fixes

  • bars: remove border visibility based on bar width (#192) (a270bab), closes #189

3.11.3 (2019-04-24)

Bug Fixes

3.11.2 (2019-04-16)

Bug Fixes

3.11.1 (2019-04-16)

Bug Fixes

  • apply transform.x to area & line geometries (#172) (da4f07f)

3.11.0 (2019-04-16)

Bug Fixes

Features

3.10.2 (2019-04-12)

Bug Fixes

  • exports: fix missing exports for annotations (#166) (fe28afb)

3.10.1 (2019-04-11)

Bug Fixes

3.10.0 (2019-04-11)

Features

3.9.0 (2019-04-10)

Features

  • legend: display series value (dependent on hover) & sort in legend (#155) (78af858)

3.8.0 (2019-04-08)

Features

  • line_annotation: add hideLines and hideTooltips props to spec (#154) (ba806b1)

3.7.2 (2019-04-08)

Bug Fixes

3.7.1 (2019-04-05)

Bug Fixes

  • domain: set domain bounds dependent on negative/positive values (#149) (5b16be6)

3.7.0 (2019-04-04)

Features

  • legend: hide legend item if hideLegendItem on series spec is true (#147) (6761c2b)

3.6.0 (2019-04-04)

Features

  • annotations: render line annotations via LineAnnotation spec (#126) (98ff170)

3.5.1 (2019-04-02)

Bug Fixes

  • build: fix dependencies for kibana integration (#146) (b875e3d), closes #145

3.5.0 (2019-04-01)

Bug Fixes

Features

3.4.5 (2019-03-29)

Bug Fixes

  • 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)

Bug Fixes

  • crosshair: use offsetX/Y instead of clientX/Y (#128) (7c1155f), closes #123

3.4.3 (2019-03-26)

Bug Fixes

  • chart_state: maintain series visibility state on props update (#118) (18e7784)

3.4.2 (2019-03-26)

Bug Fixes

3.4.1 (2019-03-26)

Bug Fixes

  • brushing: enable mouseup event outside chart element (#120) (77d62f6), closes #119

3.4.0 (2019-03-25)

Features

3.3.1 (2019-03-25)

Bug Fixes

  • chart: fix duplicated keys for chart elements (#115) (6f12067)

3.3.0 (2019-03-22)

Features

3.2.0 (2019-03-19)

Features

  • domain: scale data to a specific domain via axis spec (#98) (b039ebf)

3.1.1 (2019-03-19)

Bug Fixes

  • npm: add missing generated file to npm package (6dd9140)

3.1.0 (2019-03-11)

Features

  • series: set custom series colors through spec prop (#95) (fb09dc9)

3.0.1 (2019-03-08)

Bug Fixes

  • canvas_text_bbox_calculator: increase font scaling factor (#93) (f6a1f1d)

3.0.0 (2019-03-06)

Bug Fixes

  • scale: return ticks in millis for time scales for line/area charts (8b46283)

BREAKING CHANGES

  • 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)

Features

  • legend/click: add click interations on legend titles (#51) (7d6139d)

2.0.0 (2019-02-19)

Features

BREAKING CHANGES

  • The 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.

1.1.1 (2019-02-15)

Bug Fixes

1.1.0 (2019-02-14)

Features

  • legend/series: add hover interaction on legend items (#31) (c56a252), closes #24

1.0.2 (2019-02-08)

Bug Fixes

  • offscreen canvas: set negative position to move offscreen (#50) (0f61ac8), closes #43

1.0.1 (2019-02-07)

Bug Fixes

  • axis labels: offset previous space correctly (#45) (ff2a47a), closes #42

1.0.0 (2019-02-07)

Bug Fixes

  • 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)

Features

  • add tickLabelRotation and showGridLines features (#7) (47f118b)
  • axis: draw grid lines separately from axis tick and customize style with config (#8) (ab7e974)