Skip to content

Can I pass more than 1 object to echartsInstance. appendData ?  #14659

@SaraMk89

Description

@SaraMk89

I want to simultaneously append two objects to echartsInstance. appendData as following :

echartsInstance.appendData(
{
seriesIndex: 0,
data: data1
},
{
seriesIndex: 1,
data: data2
}
);

the purpose of this is to add new data to two line charts without re-rending the whole chart.

The question is possible to pass those two objects representing 2 line charts into echartsInstance. appendData ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    invalidThis issue was not created using the issue template.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions