question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add stroke attribute to line-chart dots

See original GitHub issue

For 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:closed
  • Created 5 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
rmanzano-TEcommented, May 30, 2018

Yep, I’m assuming this would not count as an API change so I should branch off master right?

0reactions
gordonwoodhullcommented, Jul 11, 2018

Fixed in 2.2.1 & 3.0.6

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found