Add stroke attribute to line-chart dots
See original GitHub issueFor line-charts we are given the following options for renderDataPoints:
{fillOpacity, strokeOpacity, radius}
but strokeOpacity is unused since the rendered dots don’t have a stroke attribute defined. Would it be possible to add that attribute? Adding:
.attr('stroke', _chart.getColor)
to dc.line-chart.drawDots() on line 394 seems to have the desired effect. Or is there a reason why that attribute is excluded?
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
How to Increase the width of the dot in Line chart by CSS
I want to increase the size of the symbol in Line chart via CSS I have applied the CSS as shown in the...
Read more >how to style style line chart points in c3js - Stack Overflow
I'm trying to make the points in a C3JS line chart "hollow" (white fill, with a colored stroke), but am having a hard...
Read more >Simple styled line chart with customizable markers - Observable
Edit to change graph's styles */ .line {. stroke: steelblue;. stroke-width: 3;. } /* Style the dots by assigning a fill and stroke...
Read more >Line Chart - Chart.js
A line chart is a way of plotting data points on a line. Often, it is used to show trend data, or the...
Read more >Area chart with line and points on top in d3.js
Start by understanding how to build a basic area chart. · Adding the line: a first approach could be to add stroke to...
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 Free
Top 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
Yep, I’m assuming this would not count as an API change so I should branch off master right?
Fixed in 2.2.1 & 3.0.6