Set Y axis min and max based on a value other than Auto or Double value in chart property. RRS feed

  • Question

  • Is it possible to use a TextBox Value/Control  instead of "Auto" or a Double (100)?

     <asp:ChartArea Name="ChartArea1">
                            <AxisX Maximum= "Auto" Minimum="100">

    For example if my chart has (Y) [ActaulValue] of 10,20,60,20,50,40,70....

    I have 3 controls: [MINValue] ; [MaxValue] and [TargetValue]

    I would like my graph to use [MINValue] and [MaxValue] as the Y axis min and max values.

    Such as:  <AxisY Maximum= "[MaxValue]" Minimum="[MINValue]">


    Thursday, March 1, 2018 9:58 PM

All replies

  • Hi faxmonley1,

    Welcome to the MSDN forum.

    This forum is discussing Visual Studio WPF/SL Designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System, and Visual Studio Editor.

    According to your description, your issue is related to asp.net development, I suggest you could visit following forum to get a professional answer.


    Thanks for your understanding.



    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Friday, March 2, 2018 3:05 AM