Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1020583
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T11:11:05+00:00 2026-05-16T11:11:05+00:00

How do you adjust the formatting of the asp.net point chart? I’d like to

  • 0

How do you adjust the formatting of the asp.net point chart? I’d like to dynamically set maximum and minimums based on data in a List<>. I’d also like to figure out the properties that allows me to tweak the intervals within each of the axes and also formatting the labels so that I can change decimals to percentages.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T11:11:05+00:00Added an answer on May 16, 2026 at 11:11 am

    I think I found the answer to the setting maximum and minimum on the axes. See below:

    <asp:Chart runat="server" ID="Chart1" Width="500px" Height="500px">
        <Series>
            <asp:Series Name="Series1" MarkerSize="10" ChartType="Point">
            </asp:Series>
        </Series>
        <ChartAreas>
            <asp:ChartArea Name="ChartArea1" BorderColor="64, 64, 64, 64" BorderDashStyle="Solid"
                BackSecondaryColor="White" BackColor="Gainsboro" ShadowColor="Transparent" BackGradientStyle="TopBottom">
                <Area3DStyle Rotation="10" Perspective="10" Inclination="15" IsRightAngleAxes="False"
                    WallWidth="0" IsClustered="False" />
                <AxisY LineColor="64, 64, 64, 64">
                    <LabelStyle Font="Trebuchet MS, 8.25pt, style=Bold" />
                    <MajorGrid LineColor="64, 64, 64, 64" />
                </AxisY>
                <AxisX LineColor="64, 64, 64, 64">
                    <LabelStyle Font="Trebuchet MS, 8.25pt, style=Bold" />
                    <MajorGrid LineColor="64, 64, 64, 64" />
                </AxisX>
            </asp:ChartArea>
        </ChartAreas>
    </asp:Chart>
    

    //define chart UI
    double minimum = -0.08;
    double maximum = 0.08;
    double interval = maximum/2;

            Chart1.ChartAreas["ChartArea1"].AxisY.Minimum = minimum;
            Chart1.ChartAreas["ChartArea1"].AxisX.Minimum = minimum;
            Chart1.ChartAreas["ChartArea1"].AxisY.Maximum = maximum;
            Chart1.ChartAreas["ChartArea1"].AxisX.Maximum = maximum;
            Chart1.ChartAreas["ChartArea1"].AxisX.Interval = interval;
            Chart1.ChartAreas["ChartArea1"].AxisY.Interval = interval;
    

    However, is there a way to change the label formatting to percentages instead of decimals?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Can I adjust the ASP.NET Membership Tables to add some columns of my own?
how can i adjust the width of grouptreeview of a crystal report in asp.net
I need to adjust the minimum and maximum values of the X axis of
I need to adjust the datetime of a bunch of objects. I'd like to
I would like to adjust the system audio volume in OSX from a python
I'd like to adjust the margin of container divs and the padding for links
I want to adjust each cell height according to the dynamic data that comes
I'm trying to adjust a width of the input field based on some jquery.
I need to adjust the width of an element based on parent's width and
I'm trying to adjust the position of several sibling divs based on which sibling

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.