c3js / c3js/c3

Feature request: Add different shapes to legend

Open
#2,462 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

It would be great if you could configure legend shapes for different data series. For example, for a line with markers it would be a line with marker on it, for a column it would be a square, for a line without any markers it would be just a line, for scatter plot it would be circles. You could see on examples below how it might look like:
![image](https://user-images.githubusercontent.com/4987843/44514081-d3634080-a6c7-11e8-8fae-88f685086fb7.png)
![image](https://user-images.githubusercontent.com/4987843/44514859-d4956d00-a6c9-11e8-94b5-e340bef5e3e6.png)

I can imagine one example where it will be definitely useful - black and white printing. It won't work with just columns or just lines, but it will be exactly better than now.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.