【发布时间】:2013-11-26 12:03:24
【问题描述】:
当我们将鼠标放在折线图节点上时,它会显示节点值。我想永久地做同样的事情而不指向节点。
我的完整代码是:
items:[{
xtype:'displayfield',
value:'Avg. Freight Percentage'
},{
xtype: 'linechart',
store: store30DaysTo180Days,
xField: 'days',
height:200,
yField: 'averageFreightPercentLast',
xAxis: new Ext.chart.CategoryAxis({ title: 'In Days', })
}]
【问题讨论】:
-
你能举个例子吗?这里docs.sencha.com/extjs/4.2.2/#!/example/charts/Line.html 的值没有显示在节点上。
-
您提供的链接显示节点,该节点将具有一些 X 和 Y 值。我想在那个节点上显示 X 和 Y 值。