if(fTotal < fTemp)
{//保存最大的值 以便计算绘制直方图的高
fTotal = fTemp;
}
}
rec.MoveNext();
}
this.m_fTotal = fTotal;
}
}
// 公开一些属性以便根据需要进行修改
public float BarWidth { get; set; }
public bool DrawOutline { get; set; }
public float MaxBarHeight { get; set; }
public float MinBarHeight { get; set; }
public Color OutlineColor { get; set; }
第五步:实现继承的接口ESRI.MapObjects2.Custom.ICustomChart中的方法Draw()。
public void Draw(int hDC, int x, int y, ref double[] values, double normValue, double sizeValue)
{
//






