Skip to content

v2.2.0

Compare
Choose a tag to compare
@JesperLekland JesperLekland released this 24 Jan 10:54
· 180 commits to master since this release

Breaking changes

gridMin/Max proper behaviour

Previously the gridMin/Max had a default value of 0. This caused charts with dataRanges above zero to always adhere to the a range beginning from zero which of course isn't wanted. The same was true for the YAxis.

YAxis supports "min" and "max" prop

Just as gridMin/Max, the YAxis wrongly assumed that 0 should be a part of the dataRange, this is now remedied. To further help users customise their charts we introduced the min and max prop, which work exactly the same as the gridMin & gridMax prop on the charts. This means that you no longer haft the alter the dataPoints prop to get your wanted behaviour 👍