score:1

Accepted answer

Well I have something more idiomatic where I'm monkey patching the renderer and using D3 selectors:

var y_grid = new Rickshaw.Graph.Axis.Y.Scaled({
  graph: graph,
  tickFormat: Rickshaw.Fixtures.Number.formatKMBT,
  tickValues: y_tick_vals,
  scale: scale
});
// Begin monkey business
var old_render = y_grid.render
y_grid.render = function() {
  old_render.apply(y_grid,arguments)
  y_grid.graph.vis.select('svg .y_grid g[data-y-value="32"] line')
    .style('stroke','rgb(255,0,0)')
    .style('stroke-width','1')
}

Related Query

More Query from same tag