问题描述
有没有办法将最大Y轴设置为控制参数/文本框或图表控件或代码后面的系列最大值?
我希望能够根据查询的数据设置MAX和MIN。
例如,如果给定时间(X轴)的Y(轴)值为80,而目标为70.
我想要AxisY Maximum =target+20 and AxisY Minimum =target-20
我尝试过:
< asp:ChartArea Name =ChartArea1>
< AxisY Maximum =AutoMinimum =Auto>
Is there a way set the Maximum Y axis to a Control Parameter/textbox or series Maximum in chart control or code behind?
I would like to be able to set the MAX and MIN depending on the data queried.
For example, if I have an Y (axis) "value" of 80 for a given time (X axis) and "target" of 70.
I would like AxisY Maximum= "target" +20 and AxisY Minimum = "target" -20
What I have tried:
<asp:ChartArea Name="ChartArea1">
<AxisY Maximum= "Auto" Minimum= "Auto" >
这篇关于图表区域的最大值和最小值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!