I am testing candlestick chart.
I am wondering how to reduce or expand width of each item?
following is my code :
<div><div>SeriesMapping sm = new SeriesMapping();</div><div> CandleStickSeriesDefinition candleStickSeriesDefinition = new CandleStickSeriesDefinition();</div><div> candleStickSeriesDefinition.ShowItemToolTips= true;</div><div> //candleStickSeriesDefinition.ItemStyle = this.Resources["CustomStyle"] as Style;</div><div> sm.SeriesDefinition = candleStickSeriesDefinition;</div><div> sm.LegendLabel = "BP";</div><div><br></div><div> ItemMapping imHigh = new ItemMapping("High", DataPointMember.High);</div><div> ItemMapping imLow = new ItemMapping("Low", DataPointMember.Low);</div><div> ItemMapping imOpen = new ItemMapping("Open", DataPointMember.Open);</div><div> ItemMapping imClose = new ItemMapping("Close", DataPointMember.Close);</div><div><br></div><div> sm.ItemMappings.Add(imHigh);</div><div> sm.ItemMappings.Add(imLow);</div><div> sm.ItemMappings.Add(imOpen);</div><div> sm.ItemMappings.Add(imClose);</div><div> </div><div> RadChart1.SeriesMappings.Add(sm);</div></div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre"> </span>RadChart1.ItemsSource = Repository.GetBPList();<br></div><div></div> |
Thanks in advance.
Kwon