简体   繁体   English

ExtJS 4.2 散点图系列

[英]ExtJS 4.2 Scatter Chart series

I have two questions about this Sencha Fiddle:我有两个关于这个Sencha Fiddle 的问题:

1.- Why when I click in some value in the legend it is not disapearing/hidding the serie from the chart. 1.- 为什么当我点击图例中的某个值时,它不会从图表中消失/隐藏系列。

2.- Why if I dont add type: 'circle' in the markerConfig , it adds random type markers but if I click some in the legend gives me this error: 2.- 为什么如果我不在 markerConfig 中添加type: 'circle' ,它会添加随机类型标记但如果我点击图例中的一些会给我这个错误:

Uncaught TypeError: Ext.chart.Shape[markerConfig.type] is not a function未捕获的类型错误:Ext.chart.Shape[markerConfig.type] 不是函数

Am I missing something?我错过了什么吗? Do I have something wrong??我有事吗??

  1. This is a reported bug in the version used but is fixed in the later version.这是所用版本中报告的错误,但在更高版本中已修复。 Please see the working code here .请在此处查看工作代码。

  2. This is also a bug.这也是一个错误。 Please refer here .请参考这里 This version requires to explicitly specify the type of marker .此版本需要明确指定标记的类型 This is also resolved in the later version.后面的版本也解决了这个问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM