Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/.net/21.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
.net zedgraph轴标签字体大小_.net_Zedgraph - Fatal编程技术网

.net zedgraph轴标签字体大小

.net zedgraph轴标签字体大小,.net,zedgraph,.net,Zedgraph,我正在使用zedgraph显示一个图形,但它必须是一个小图形。我的问题是轴标签和轴名称的字体太小,无法读取 我将感谢任何帮助 问候,, Amichai这里有一个简单的代码: private void Form1_Resize(object sender, EventArgs e) { GraphPane myPane = zedGraphControl1.GraphPane; myPane.YAxis.Title.FontSpec.Size = 10.0

我正在使用zedgraph显示一个图形,但它必须是一个小图形。我的问题是轴标签和轴名称的字体太小,无法读取

我将感谢任何帮助

问候,, Amichai

这里有一个简单的代码:

private void Form1_Resize(object sender, EventArgs e)
    {
        GraphPane myPane = zedGraphControl1.GraphPane;

        myPane.YAxis.Title.FontSpec.Size = 10.0f * (this.Size.Width / 100);

        zedGraphControl1.Refresh();
    }
下面是一个简单的代码:

private void Form1_Resize(object sender, EventArgs e)
    {
        GraphPane myPane = zedGraphControl1.GraphPane;

        myPane.YAxis.Title.FontSpec.Size = 10.0f * (this.Size.Width / 100);

        zedGraphControl1.Refresh();
    }

要设置我使用的轴标签字体大小,请执行以下操作:

myPane.YAxis.Scale.FontSpec.Size


与前面提到的标题字体大小相同。

要设置我使用的轴标签字体大小,请执行以下操作:

myPane.YAxis.Scale.FontSpec.Size

与标题字体大小提到的San相同。

您可以根据自己的要求设置字体大小。。!您可以根据您的要求设置字体大小。。!