ChartsOrg / ChartsOrg/Charts

Y-Axis for each DataSet (LineChartView)

Open
#2,704 5 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 everyone,
I am willing to display multiple lines (5 ones) on one single chart, each one of them has a different scaling (temperature, blood pressure, pulse rate...) and i want an Y-Axis for each one of them, because every data type has a different range of values ( Exp: [100->130] for blood pressure [34->38] for temperature and so on..).
to clarify more, i want it to be like this : http://jpgraph.net/images/howto/mulyaxisex1.png
i am using LineChartView and i pass to it .data attribute multiple data sets, and it gives me all charts on a single Y-Axis like this: http://imageshack.com/a/img923/4315/u1Sqvd.png
Please help me ASAP.

Contributor guide

Open the contributing guide

Research direction

Start by examining LineChartView and how its .data multiple datasets are rendered on a single Y-axis. Compare that behavior with the linked multi-axis example and determine the scope for separate scaling per dataset. Done means five datasets can display with distinct Y-axes and ranges like the requested example.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
data-visualization
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.