@devexpress/dx-chart-core
Advanced tools
Changelog
1.11.0 (2019-05-17)
dominantBaseline
option with the dy
option for axis labels because Edge does not support the former. The dy
option does not change the baseline position and simply shifts text up or down.Changelog
1.11.0-beta.1 (2019-04-24)
react-scheduler:
The Appointment
component of the Appointments
plugin has not received a style
property. These styles have passed to the Container
component of the Appointments
plugin.
Before
...
<Appointments
appointmentComponent={({ style, children, data, onClick?, onDoubleClick? }) => ... }
...
/>
...
After
...
<Appointments
appointmentComponent={({ children, data, onClick?, onDoubleClick? }) => ... }
containerComponent={({ style, children }) => ... }
...
/>
...
Changelog
1.10.2 (2019-02-27)
Changelog
1.10.1 (2019-02-06)
react-chart:
Previously, pointComponent
of BarSeries
and PieSeries
accepted precalculated fields (width
and d
, respectively). Now, pointComponent
accepts fields that provide raw data for calculation. This makes pointComponent
more flexible as the width
and d
fields can now be calculated the way you need.
The following substitutions took place:
width
=> barWidth
and maxBarWidth
d
=> innerRadius
, outerRadius
, maxRadius
, startAngle
, and endAngle
Changelog
1.10.0 (2018-12-25)
react-chart:
Previously the ArgumentAxis
, ValueAxis
, and Scale
plugins allowed you to customize argument and value scales. In this release, we have implemented the ArgumentScale
and ValueScale
plugins for this purpose.
react-chart:
The showGrids
Axis property is renamed to showGrid
.
react-chart:
The min
and max
scale properties are replaced with the modifyDomain
property because the band scale domain cannot be customized in min and max terms.
Replace this
<ArgumentScale min={0} max={10} ... />
with this
const modifyDomain = () => [0, 10];
<ArgumentScale modifyDomain={modifyDomain} ... />
Changelog
1.9.1 (2018-12-07)
react-scheduler:
We have changed the onChange
function's argument type to make the ViewSwitcher
's API more clear.
Previously:
onChange({ nextViewName: string }) => void
Now:
onChange(nextViewName: string) => void
react-scheduler:
We changed the onNavigate
function's argument type to make the DateNavigator
's API more clear.
Previously:
onNavigate({ back: boolean }) => void
Now:
onNavigate(direction: 'forward' | 'back') => void
react-chart:
In the ArgumentAxis
and ValueAxis
plugins lineComponent
and tickComponent
render identical svg-path elements. Previously, they require different properties for drawing: width
and height
for lineComponent
and x1
, x2
, y1
, y2
for tickComponent
.
Now, for more consistency the lineComponent
requires the same properties as tickComponent
.
Previously, there were ArgumentGrid
and ValueGrid
plugins that render grid lines for axes. Now, grids are part of the axes:
<ArgumentAxis showGrids />
<ValueAxis />
For grid customization, use gridComponent
as follows:
<ArgumentAxis gridComponent={...} />
<ValueAxis gridComponent={...} />
<a name="1.9.0"></a>