如何用OWC制作双轴的折线图(gzlucky)
2005-11-06 04:36
246 查看
对于第二个ChSeries进行Ungroup ThisChSeries.Ungroup(True) '生成一个新的坐标轴 thisAxis = owcChart.Axes.Add(ThisChSeries.Scalings(Owc11.ChartDimensionsEnum.chDimValues)) '定义格式,默认为空字串 thisAxis.NumberFormat = sYAxis_NumFormat '定义第二坐标轴靠右 thisAxis.Position = Owc11.ChartAxisPositionEnum.chAxisPositionRight '重新定义坐标轴的最大刻度 If (sYAxis_Maximum.Length > 0) Then thisAxis.Scaling.HasAutoMaximum = False thisAxis.Scaling.Maximum = Integer.Parse(sYAxis_Maximum) Else thisAxis.Scaling.HasAutoMaximum = True End If '重新定义坐标轴的最小刻度 If (sYAxis_Minimum.Length > 0) Then thisAxis.Scaling.HasAutoMinimum = False thisAxis.Scaling.Minimum = Integer.Parse(sYAxis_Minimum) Else thisAxis.Scaling.HasAutoMinimum = True End If thisAxis.MajorTickMarks = Owc11.ChartTickMarkEnum.chTickMarkAutomatic thisAxis.HasMajorGridlines = False thisAxis.MajorGridlines.Line.Color = sYAxis_Color thisAxis.MajorGridlines.Line.DashStyle = Owc11.ChartLineDashStyleEnum.chLineRoundDot
相关文章推荐
- 如何用OWC制作双轴的折线图
- 如何用OWC制作双轴的折线图(转)
- 【Java】揭秘如何利用不等概率随机数制作十赌九骗的赌大小游戏,请不要沉迷各种游戏
- 如何制作grub启动光盘
- 如何使用cocos2d制作一个太空射击游戏
- 如何制作ArcGIS批处理列表
- 谷歌地图如何制作 ArcGIS Server 缓存的教程
- 无损1080i到1080p是如何制作的
- 如何在Linux系统下制作RamDisk
- 如何在制作的网页中加入google地图
- 如何用VS2005制作Web安装程序
- 如何使用ASP.NET制作简单的验证码
- 如何利用SD-WAN进行安全的远程媒体制作
- 如何制作一个日活超过1000的应用(一) 制定计划,选择方向
- 【ROM制作工具】如何将system.new.dat和system.img实现相互转换教程
- Echarts之折线图(面积图)制作
- Axure:菊花转(页面加载动画)如何制作
- 如何制作一个必应(百度)搜索框?
- 织梦如何制作sitemap.xml
- 如何用VS2005制作Web安装程序