c3js / c3js/c3

Enable the scrolling for the page if mouse pointer is on graph.

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

Description

Hi,

I am working with c3.js library. I have enabled the graph zoom for graphs and zooming for graph will work only after I am clicking on graph. I have added one more condition in if condition to enable graph zoom on click:-
if (config.zoom_type === 'scroll' && !config.zoom_disableDefaultBehavior && **allowZoomForGraph**) {}
Now I want to enable the scrolling for whole page, even mouse pointer is on graph.

Contributor guide

Open the contributing guide

Research direction

Start from the zoom handling condition shown in the issue, including config.zoom_type, config.zoom_disableDefaultBehavior, and allowZoomForGraph. Trace how pointer and scroll events are handled around the graph, then verify that the page scrolls while the pointer is over the graph without losing the requested graph-zoom behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
data-visualization
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.