Custom shapes for points
See original GitHub issueIt would be great to be able to define different shapes (circle, square, triangle, star, …) for the graph points.
They are 2 main reason for that:
- Printing on a grey scale printer
- Color blind people
Some topic were create on google group without response: https://groups.google.com/d/topic/c3js/I2UhY4U6zI0/discussion https://groups.google.com/d/topic/c3js/gZrpl0QpKYw/discussion https://groups.google.com/d/topic/c3js/6QRQ1VWx3vw/discussion
Legend should use the same shape as the one define for the points.
Here is how I imagine the configuration:
point: {
shape: {
'data1': 'circle',
'data2': 'square',
'data3': 'triangle'
}
}
or, in order to define some other custom attributes:
point: {
'data1': {
shape: 'circle',
color: '#ff0000',
r: 2
},
'data2': {
shape: 'square',
color: '#0000ff',
r: 3
}
}
Issue Analytics
- State:
- Created 9 years ago
- Reactions:41
- Comments:47 (2 by maintainers)
Top Results From Across the Web
5.3 Using Different Point Shapes - R Graphics Cookbook
Use slightly larger points and use custom values for the shape scale ggplot(heightweight, aes(x = ageYear, y = heightIn, shape = sex)) +...
Read more >Customise the connection points on a shape - Diagrams.net
Define connection points in the shape style · Select the shape, then click Edit Style in the Style tab of the format panel....
Read more >Draw or edit a freeform shape - Microsoft Support
Use the freeform and scribble tools to draw and edit shapes in your documents. Use edit points to customize the look of a...
Read more >How to create a custom shape - Microsoft PowerPoint 365
Right-click on the shape and choose Edit Points in the popup menu: Edit Points in popup in PowerPoint 365 · On the Shape...
Read more >Custom Shapes - Tableau
Custom shapes are powerful when telling a story with your visualizations. You can create unlimited shape combinations to show mark points and create...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Everyone who wants this feature, please either subscribe yourself or use an emoji response instead of replying +1.
Thanks.
Use highcharts… Way better: https://www.highcharts.com/blog/products/highcharts/