Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DrawTicksPath lost when when hiding an Axis #639

Closed
rteuteu55 opened this issue Sep 23, 2022 · 2 comments
Closed

DrawTicksPath lost when when hiding an Axis #639

rteuteu55 opened this issue Sep 23, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@rteuteu55
Copy link

Describe the bug
DrawTicksPath is lost if the axis visibility is toggled

To Reproduce
Steps to reproduce the behavior:

  1. create a chart
  2. add an Axis with DrawTicksPath
  3. toggle the Axis visibility twice
  4. See error

Screenshots
DrawTicksPathIssue

Desktop (please complete the following information):

  • OS: [Windows]
  • Version [400 Beta]
@rteuteu55
Copy link
Author

Code of the btn if it helps:

        private void button2_Click(object sender, EventArgs e)
        {
            if (yAxis[0].IsVisible)
            {
                yAxis[0].IsVisible = false;
            }
            else
            {
                (yAxis[0] as Axis).DrawTicksPath = true;
                yAxis[0].IsVisible = true;
            }
        }

beto-rodriguez added a commit that referenced this issue Sep 28, 2022
@beto-rodriguez beto-rodriguez added the bug Something isn't working label Sep 28, 2022
@beto-rodriguez
Copy link
Owner

Thanks for thew report, this issue is fixed with the referenced commit and will be included in the next version of the library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants