Hi,

Apache ECharts doesn't aggregate data by default. You can make a
*transform* [1] in the dataset to do the aggregation.

[1] https://echarts.apache.org/en/option.html#dataset.transform-xxx%3Axxx

Thanks

*Ovilia*


On Wed, May 31, 2023 at 2:30 PM Nandha Kumar Velusamy <
nandha.velus...@kore.com> wrote:

> Hi Team,
>
> We are seeking support for echart-Dataset. Please find our requirements
> below
>
> We have an X axis value of *A, B, C, D, A*.if we use this value in the
> Dataset. it aggregates the duplicate values (*A*) so we get only A, B, C, D
> (It should be A, B, C, D, *A*).We are getting this issue only by using
> Dataset.
>
> Attached sandbox for your reference
>
> https://codesandbox.io/s/dataset-in-object-array-forked-e53vgg?file=/index.js
> Codesanbox: In the X axis we have duplicate values of *'Milk Tea' *so the
> chart combines these values.
>
> Kindly revert back if you have any clarifications on the above and we look
> forward to hearing from you.
>
>
> Thank you
> Nandha kumar V
> 99420 31076
>

Reply via email to