当前位置:编程学习 > C#/ASP.NET >>

关于mschart 曲线上marker大小的设定

请高手帮忙看一下,我想改变标记的大小,可是下面实现的代码并不能让标记起变化!!!

CVcPlot tempPlot = m_Chart.GetPlot();
CVcSeriesCollection tempSeriesCollection = tempPlot.GetSeriesCollection();
long count = tempSeriesCollection.Count();
for(long i = 1 ; i <=count ; i++)
{
CVcSeries tempSeries = tempSeriesCollection.GetItem(i);

CVcSeriesMarker tempSeriesMarker = tempSeries.GetSeriesMarker();
tempSeriesMarker.SetShow(true);
CVcDataPoints tempDataPoints = tempSeries.GetDataPoints();
CVcDataPoint tempDataPoint =tempDataPoints.GetItem(-1);
CVcMarker tempMarker = tempDataPoint.GetMarker(); 
float size = tempMarker.GetSize();
tempMarker.SetSize(size/10);


} --------------------编程问答-------------------- 赫赫:)
自己搞定了:)
好开心阿 --------------------编程问答-------------------- 求真相~~~~~~~~~~~~~
补充:.NET技术 ,  VC.NET
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,