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

Add axis offset functionality to igDataChart #2221

Open
mkamiishi opened this issue Feb 6, 2023 · 0 comments
Open

Add axis offset functionality to igDataChart #2221

mkamiishi opened this issue Feb 6, 2023 · 0 comments

Comments

@mkamiishi
Copy link

Add a property that controls the distance from the plot area to the axis line. This will help to avoid collision of the series by separating them into multiple axes with different offset.
For example, add a property called Series.YAxis.ZeroBaseOffset so that if it's set to '3'(Series.YAxis.ZeroBaseOffset = 3), the axis automatically adjusts its ActualMinimumValue and ActualMaximumValue like this.

  Series.YAxis.ActualMaximumValue = Series.YAxis.MaximumValue + 3
  Series.YAxis.ActualMinimumValue = Series.YAxis.MinimumValue + 3

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant