darrenywyu opened a new issue #9433: Echarts数据和配置分离 URL: https://github.com/apache/incubator-echarts/issues/9433 1.同一个chart,要为每一个series指定type 对于数据是从接口获取来的情况下,这种必须要处理数据,而不是说可以指定一个统一的type,series的值直接取数据data赋值。 2. markLine和markArea要在series中配置 本身series的数据是需要从接口中获取的,而且同时可能会获得多个seriese,这时候如果想要为趋势图设置一条阈值线,必须在拿到数据之后对数据进行多种判断处理,但其实像阈值线是只和坐标轴相关的,如果能在坐标轴上设置,直接可以在配置中固定,不需要对数据处理 3.dataset还是要一一对应series 如果我数据源数据条数是不固定的情况下,没办法直接固定series的配置,还是需要根据数据改变series,同时series的的配置没办法共享,必须要一个一个配置
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
