PDA

View Full Version : Touch Charts - markerConfig on line series is ignored



hermanvandermaas
27 Jan 2012, 7:07 AM
Sencha Touch version tested:

Sencha Touch 1.1 with Touch Charts 1.0
Description:

In a chart with a line series, with a markerConfig object defined, the markerConfig is ignored. Instead the default marker configuration shows.
Test Case:

See this URL : http://www.sencha.com/forum/showthread.php?148498-markerConfig&p=718200&viewfull=1#post718200
(http://www.sencha.com/forum/showthread.php?148498-markerConfig&p=718200&viewfull=1#post718200)

Steps to reproduce the problem:

Display a chart with a line series and define a non default markerConfig object.
Possible fix:
Replace this line of code in the touch-charts.js file:

//prepare style objects for line and markers
endMarkerStyle = Ext.apply({}, markerStyle, me.markerConfig);

With this:


//prepare style objects for line and markers
endMarkerStyle = Ext.apply({}, me.markerConfig, markerStyle);

sandeepmnit35
9 Oct 2012, 3:50 AM
I tried this but it is still now working .

Any one has solution for it?

Thanks