Perhaps you can try dataset[1]

[1] https://echarts.apache.org/en/option.html#dataset.source

On Thu, Aug 6, 2020 at 5:59 PM Sheng Qian <quillq...@gmail.com> wrote:

>
> Hi,
>
> data是二维数组,可以用数组Object[][]或者List<Object[]>等实现。
>
> data is a 2-dimension array, which could be implemented via Object[][],
> List<Object[]>, etc.
> But here I want to raise a discussion about transformation of data. We
> usually got entities with various property from database and Object
> Orientated programming languages are still playing important roles
> nowadays. Will ECharts enable field mapping in future so that entity
> objects are accepted as data and map entity to array via property names?
>
> Best regards,
> Quill
>
> > 在 2020年8月4日,12:49,Yi Shen <shenyi....@gmail.com> 写道:
> >
> > Hi,
> >
> > I'm not familiar with C#. But I will suggest using a C# wrapper of
> ECharts
> > like https://github.com/idoku/EChartsSDK
> >
> > Thanks
> >
> >
> >> On Tue, Aug 4, 2020 at 12:07 PM 王震-胜利油田 <wangzhen597.s...@sinopec.com>
> >> wrote:
> >>
> >> 折线x轴为时间类型的化,json数据格式为
> >>
> >>
> {"ipAuthority":1,"data1":[["2020-07-01",1],["2020-07-02",2],["2020-07-03",3],["2020-07-04",4]]}
> >>
> >>
> >> 在c#中,需要建立一个类与之对应,但是试了很多类都不行,这个类应该如何建立呢?
> >>
> >
> >
> > --
> > Yi Shen
> > Apache ECharts(incubating) PPMC
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org
> For additional commands, e-mail: dev-h...@echarts.apache.org
>
>

-- 
Yi Shen
Apache ECharts(incubating) PPMC

Reply via email to