更改图表上的Y最大值 [英] Changing the Y maximum on a chart

查看:97
本文介绍了更改图表上的Y最大值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法将Min和Max值设置为系列或TxtBox?

Is there any way to set the Min and Max values to a series or TxtBox?

例如,我的数据集为  TIMEDATE;重量;产品; MaxValue的; MinValue

For example, I have a data set of  TimeDate; Weight; Product; MaxValue; MinValue

折线图(Y)是权重,(X)是TimeDate

In a line chart (Y) is Weight and (X) is TimeDate

我想要AxisY Maximum = MaxValue 而不是"自动"或者设置整数。

I would like the AxisY Maximum = MaxValue  Instead of "Auto" or set Integers.

         &NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP; < chartareas>

&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP; < ASP:ChartArea名称= QUOT; ChartArea1">

&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP ;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP; < AxisY Maximum =" 220"最小= QUOT; 180">

&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP; < / AxisY>&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;  



                 &NBSP;&NBSP;&NBSP; < / asp:ChartArea>

                <chartareas>
                    <asp:ChartArea Name="ChartArea1">
                        <AxisY Maximum= "220" Minimum="180">
                        </AxisY>        

                    </asp:ChartArea>

推荐答案

你好faxmonkey1,

Hi faxmonkey1,

由于此论坛正在讨论并询问有关Visual Basic编程语言,IDE,库,示例和工具的问题,以及您的问题与VB6更相关。这个关于asp.net的链接,请
参考:

Since this forum is discussing and asking questions about the Visual Basic programming language, IDE, libraries, samples, and tools, and your issue is more related to VB6. This link about asp.net, please refer that:

https://forums.asp.net/

感谢您参与论坛活动。

最好的问候,

Cherry


这篇关于更改图表上的Y最大值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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