Improvement Idea : multiple plots sharing same axis

Open
#576 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 4 days

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
30/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
java

Research direction

Review XChart's existing plot layout, axis, and zoom behavior first. Determine how vertically, horizontally, and grid-arranged plots could share numerical or categorical axes and synchronize zooming. Done means linked plots remain aligned when the shared axis is zoomed, with the non-shared axes still usable.

Written by the indexing model from the issue text.

Description

Feature Request

Hi, I don't know if it is possible now, but it is sometimes very usefull to create multiple plots (vertically or horizontally, or in grid like for corrplot() function in Matlab), sharing the same axis.
The axis are linked : if you zoom on one plot, the other zoom as well (on the linked axis)
The linked axis should be numerical or categorical.

I think one way of doing this, is to put, for example, 2 plots in a grid layout, hide one axis, and synchronize the zoom in both plots.

Dominant language
Java
Stars
1.6k
Forks
400
Avg merge
3d 9h
Merged PRs (30d)
7

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from knowm/XChart

All issues in knowm/XChart

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.