Ericazhang1990 commented on issue #9874: 建议series[i]-line.sampling可以同时返回两个值,最大值和最小值 URL: https://github.com/apache/incubator-echarts/issues/9874#issuecomment-462581526 收到回复很高兴 首先,第一种方案希望直接能添加sample的属性值,代表获取单位采集点内的最大值和最小值,当前echarts提供的方案是,像素点内的最大值,最小值和平均值,但都是一个像素点内的数据为单位,是否可以以两个像素点内的数据为单位返回最大值和最小值。 其次,当前sample属性支持自定义函数,但是自定义函数返回值当前只支持返回单个值,用以表示一个像素点内数据显示一个值,是否可以修正为支持返回n个值,同时设置参数n个像素点稀释,例如,设置两个像素点内的数据显示两个点,sample自定义函数返回两个值,同时设置以2个像素点内的数据为单位
---------------------------------------------------------------- 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]
