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

Custom position of chart axes #7263

Open
pavelgruba opened this issue Mar 13, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@pavelgruba
Copy link
Contributor

commented Mar 13, 2019

The Problem

Chart axes are always rendered on the chart's edges. This limitation impairs the chart's readability in scientific data analysis.

The Proposed Solution

We are going to give the chart axes the capability to intersect at any value.

The axes already have the position option that accepts left, right, top, or bottom. After the implementation, this option will also accept a number that specifies the intersection value. In the following code, the axes intersect at zero:

let chartOptions = {
    argumentAxis: {
        position: 0
    },
    valueAxis: {
        position: 0
    }
};

If the intersection value is outside the visual range, the axis will be rendered at the nearest edge.
Screenshot 2019-03-13 at 15 19 12

We Need Your Feedback

Take a Quick Poll

Do you find the capability to relocate axes useful?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.