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

Counter-clockwise Polar Chart Direction #1410

Closed
seikosantana opened this issue Dec 20, 2023 · 1 comment
Closed

Counter-clockwise Polar Chart Direction #1410

seikosantana opened this issue Dec 20, 2023 · 1 comment
Labels
new feature priority 1 might not be fixed in the next release of the library, but it will soon!
Milestone

Comments

@seikosantana
Copy link

seikosantana commented Dec 20, 2023

Is your feature request related to a problem? Please describe.
There doesn't seem to be a way to specify polar chart to be counter-clockwise.

Describe the solution you'd like
A property in PolarChart or PolarAxis to make it counter clockwise.

Describe alternatives you've considered
Tried IsInverted in PolarAxis in AngleAxes collection but does not make any noticeable difference.

Additional context
Currently using Avalonia 11.0.2 and LiveChartsCore.SkiaSharpView.Avalonia Version=2.0.0-rc2

@beto-rodriguez beto-rodriguez added new feature priority 1 might not be fixed in the next release of the library, but it will soon! labels Sep 15, 2024
@beto-rodriguez
Copy link
Owner

This is fixed with the referenced commit and will be included in the next version of the library.

The sample in the web site will be also updated, but basically all we need to do is invert the axis:

public PolarAxis[] AngleAxes { get; set; } = [
    new PolarAxis
    {
        LabelsRotation = LiveCharts.TangentAngle,
        IsInverted = true // enables counter clockwise draw. // mark
    }
];

@beto-rodriguez beto-rodriguez added this to the rc-4 milestone Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature priority 1 might not be fixed in the next release of the library, but it will soon!
Projects
None yet
Development

No branches or pull requests

2 participants