ChartsOrg / ChartsOrg/Charts

Inverted x/y axis

Open
#2,537 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
28k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

Hi,
I'm trying to line graph data with X data being a function of Y, instead of the traditional y=f(x).
This is because I need to represent values by depth. More natural to have depth on Y axis.
At each depth on the reversed Y axis ( 0 being on top and maximum depth at bottom), I need to represent on X axis the values of said granularity, temperature and so on.
I tried to swap data but no good. Display is erratic.
Can this be done with this nice library ?
Thanks.

Contributor guide

Open the contributing guide

Research direction

Reproduce the requested depth-versus-value chart in Charts and inspect how its axes and data orientation are configured. Determine whether a reversed Y axis and X-as-a-function-of-Y are supported; done means the described depth layout displays correctly without erratic rendering.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
data-visualization, mobile-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.