c3js / c3js/c3

API: onClick set data labels true/false

Open
#1,169 0 comments 2 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

How can i use the API like load/unload and set the data labels true or false, e.g with an onclick event?
I wanna give the user the possibility to decide own his own if labels are displayed or not.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the chart API's load/unload and data-label controls, then trace how an onclick event reaches the chart. Done means users can toggle data labels on and off through the API in response to a click, with the behavior documented or demonstrated by the relevant example.

Written by the indexing model from the issue text.

Assessment

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