     })
     series =  axis.addSeries(opts.type, {
       fillEnabled: true
-      labelRenderer: options.labelRenderer
+      labelRenderer: innerLabelRenderer
     })
 
     @_ = {


class Sparkline
  constructor: (selector, options) ->
    opts = hx.merge.defined({
      strokeColor: hx.theme.plot.colors[0],
      data: [],
      type: 'line',
      labelRenderer: hx.plot.label.basic
    }, options)

    hx.components.clear(selector)
    hx.component.register(selector, this)


  render: ->
    self = this
    @_.series.data(@data())
    if @fillColor()? then @_.series.fillColor(@fillColor())
    if @_.options.type is 'line'
      @_.series.strokeColor(@strokeColor())
    @_.graph.render()
