ChartsOrg / ChartsOrg/Charts

Syncing multiple charts' viewports

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

Description

It is reasonably common to want to have multiple charts "synced" when panning/zooming. An example is to plot yaw, pitch and roll against time on three separate graphs. If the user zooms in on the yaw graph, the pitch and roll graphs should zoom in the same manner.

Currently it is technically possible, but difficult. We should develop an API to make this simple, perhaps something like:
```
rollChart.syncViewPort(to: yawChart)
pitchChart.syncViewPort(to: rollChart)
```

This is a feature that would also need an Android implementation @PhilJay.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the existing iOS viewport, panning, and zooming behavior, then identify the corresponding Android implementation. Define and validate a cross-chart synchronization API so separate yaw, pitch, and roll charts pan and zoom together on both platforms.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.