Closed wadjih-bencheikh18 closed 2 years ago
when using function series under bar series the legend of this latter does not appear
<Plot {...DEFAULT_PLOT_CONFIG}> <Legend {...props} labelStyle={{ cursor: 'hand' }} /> <BarSeries data={data2} lineStyle={{ stroke: 'green', }} label="Label Bar series" /> <FunctionSeries getY={(x) => 5 * Math.sin(x) + 10} lineStyle={{ stroke: 'brown', }} label="Label Function series" /> </Plot>
but if we reverse it works correctly
when using function series under bar series the legend of this latter does not appear
but if we reverse it works correctly