denisemauldin / d3-timeline

D3 timeline
BSD 3-Clause "New" or "Revised" License
168 stars 73 forks source link

Style appended elements #17

Closed hero9 closed 6 years ago

hero9 commented 6 years ago

Hey there! I've already inserted graph to DOM, like so:

var svg = d3.select(this.$$('#timeline'))
 .append("svg")
 .attr("width", this.properties.width)
 .attr("height", this.properties.height)
 .datum(testData)
 .call(chart);

Now I want to change the color of xAxis(line), but I have problem: can't select it throw css selectors Could anyone give any resolve? Thanks in advance