PDA

View Full Version : [CLOSED] How can increase the size line of the lineSeries



tactime10
Sep 13, 2012, 6:12 PM
Hi,

I would to increase the size line of the lineSeries, but not the marker point, how can do it?

The code for the LineSeries into my page is below.



<ext:LineSeries Highlight="true" Axis="Right" Smooth="3" XField="period" YField="pnFirstOk" >
<MarkerConfig Type="Circle" Size="4" Radius="4" StrokeWidth="0" />

<Label Contrast="false" Display="InsideEnd" Field="pnFirstOk" Color="#319915" TextAnchor="Middle" />
</ext:LineSeries>
<ext:LineSeries Highlight="true" Axis="Right" Smooth="3" XField="period" YField="pnFirstKo" >
<MarkerConfig Type="Circle" Size="4" Radius="4" StrokeWidth="0" />

<Label Contrast="false" Display="InsideEnd" Field="pnFirstKo" Color="#CC1700" TextAnchor="Middle" />
</ext:LineSeries>
<ext:LineSeries Highlight="true" Axis="Right" Smooth="3" XField="period" YField="pnTotalPass" >
<MarkerConfig Type="Circle" Size="4" Radius="4" StrokeWidth="0" />

<Label Contrast="false" Display="InsideEnd" Field="pnTotalPass" Color="#C97C00" TextAnchor="Middle" />
</ext:LineSeries>


Thanks for all

Daniil
Sep 13, 2012, 9:41 PM
Hi,

It must be possible via the Style property.
http://docs.sencha.com/ext-js/4-1/#!/api/Ext.chart.series.Line-cfg-style

But it seems to be completely ignored. Here is the report to Sencha.
http://www.sencha.com/forum/showthread.php?242546

Daniil
Sep 13, 2012, 10:12 PM
Could you try this?

<ext:LineSeries ...>
<Style StrokeWidth="15" />
</ext:LineSeries>

Does it work for you?

Daniil
Sep 21, 2012, 2:59 PM
It has been fixed by Sencha. The fix is incorporated into the 2.1 branch.

Please update.

Thank you again for the report.