Threaded View
-
1 Mar 2013 12:46 AM #1
[BUG] Ext-4.2.0.489 Draw Line Chart
[BUG] Ext-4.2.0.489 Draw Line Chart
Hi,
There is an bug in drawing a line chart both LTR and RTL mode.
index variable in this code not defined.
Code:series.getLegendColor(index)
RegardsCode:drawLine: function(fromX, fromY, toX, toY, z, seriesStyle) { var me = this, surface = me.surface, series = me.series; return me.add('line', surface.add({ type: 'path', path: 'M' + fromX + ',' + fromY + 'L' + toX + ',' + toY, zIndex: (z || 0) + 2, "stroke-width": series.lineWidth, "stroke-linejoin": "round", "stroke-dasharray": series.dash, stroke: seriesStyle.stroke || series.getLegendColor(index) || '#000', style: { cursor: 'pointer' } })); },
Wait! Looks like we don't have enough information to add this to bug database. Please follow this template bug format.


Reply With Quote