I'm trying to use Ant Design charts to plot an area chart with 3 series - actual, target and forecast. For some reason, the chart plots the series relative to the last item in the array, rather than relative to the x axis. I tried setting the startOnZero: true
but that didn't help.
In this example, the target is 220 and the actual is 1558, but the target point is higher on the y axis. Recreated:
CodePudding user response:
By default it creates a stacked chart. You can set isStack
to false
.