0
Follow
0
Followers
想要在一个页面上画多个图,在一个图上可以画自定义的任意多条线
如果先定义好多个chart实例(如cfgA,cfgB,cfgC),然后用objChart=Chart([cfgA,cfgB,cfgC])一次实例化,可以画出三个图来,但是objChart的数据序列series实际上是在cfgA,cfgB,cfgC上连续索引的,这样要对三个图表添加数据就只能是事先定义好cfgA,cfgB,cfgC的数据序列,按索引号添加数据,而不能在程序中自定义添加。
然后试了一下分别对cfgA,cfgB和cfgC实例化(objChart1=Chart(cfgA), objChart2=Chart(cfgB),objChart3(cfgC)),结果只有objChart3被画出来,前面两个被覆盖了。
有没有高手指点一下,怎么定义多个图表,每个图表的数据series也是可以自己定义的。
Related Recommendations
How to Specify Different Versions of Data for the Rented Strategy by Its Rental Code MetadataAdvanced Tutorial for FMZ Quant platform Strategy WritingElementary Tutorial for FMZ Quant platform Strategy WritingGet Started with FMZ Quant PlatformSECURITY BUGI keep getting error: Exchange_GetAccount: Invalid ContractTypeWe have an incredibly profitable market making algorithm for sideways markets on Bitmex - but need expert to help eliminate wait times during downward volatility in the marketError with deribitLimitations of the backtesting engineHow to install ta-lib on linux docker?

