捷思锐图集的规模为默认编程 [英] Zed-Graph Set scale to default programmatically

查看:227
本文介绍了捷思锐图集的规模为默认编程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经得到它采用捷思锐图形库绘制图形的WinForms应用程序。当我在控制右键单击(同时应用程序运行)的上下文菜单显示了,我可选择设置缩放到默认。结果
怎么办我achive这个设置缩放到默认 -behaviour编程?

I've got a winforms application which uses zed-graph library to plot graphs. When I right-click on the control (while application is running) a context menu shows up and I can choose Set Scale to default.
How do I achive this Set Scale to default-behaviour programmatically?

推荐答案

有关每个x轴和y轴以下代码被执行:

For each x- and y-axis following code is executed:

_scale._minAuto = true;
_scale._maxAuto = true;
_scale._majorStepAuto = true;
_scale._minorStepAuto = true;
_crossAuto = true;
_scale._magAuto = true;
_scale._formatAuto = true;

有关详细信息,轻松地查看源代码,搜索设置比例为默认。

For more information easily look in the source code and search for "Set Scale to default".

这篇关于捷思锐图集的规模为默认编程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆