文档下载地址:
https://download.csdn.net/download/weixin_41607523/85214206?spm=1001.2014.3001.5503
基于Echarts图表的开发思路:
通过html语言、javascript语言做出一个基于需求所开发组件的静态图表(此处指手动填充数据,如下所示:)
最终生成一个我们所需要的组件基础模板,如下所示:
在此基础上我们要将以上代码嵌入到spotfire当中,如下所示:
在spotfire中需要做到以下几点:
1、 坐标轴的解决
2、 坐标轴刻度大小随数据大小改变
3、 数据分别规律的填充左右两个坐标轴
4、 设置参数,数据改为spotfire数据表中数据
5、 数据的逻辑判断
6、 数据接口的对接