c3js / c3js/c3

Main chart zoom

Open
#765 2 comments 0 reactions 0 assignees View on GitHub
C-feature-request
Dominant language
JavaScript
Stars
9.3k
Forks
1.4k
Avg merge
6d 16h
Merged PRs (30d)
1

Description

I like the idea of zooming in the subchart by dragging a zoom block in the chart.

Is it possible for me to do this without having the subchart? I want the user to create a block area in the chart and then the chart will change to show the zoom of the block area. Afterwards, probably there will be a button to reset the zoom back to normal.

I saw there is an onzoom listener, but not sure if it can be used for this purpose.

Thanks,
Suriyanto

Contributor guide

Open the contributing guide

Research direction

Start by reading the existing subchart zoom behavior and the onzoom listener mentioned in the issue. Trace how dragging the zoom block changes the chart, then determine the scope of supporting a main-chart selection area and a reset control. Done means the requested interaction is clearly specified and works without requiring a subchart.

Written by the indexing model from the issue text.

Assessment

Tech stack
d3, javascript
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.