     g
       .attr("transform", "translate(#{margin.left},#{margin.top})")
 
+    title
+      .attr('x', margin.left + width / 2)
+      .attr('y', 10)
+      .attr('dy', params.titleTextSize)
+      .text(params.title)
+      .style('font-size': params.titleTextSize, 'font-weight': 'bold')
+    invisibility(title, !params.title?)
 
     xAxisG
       .attr('transform', "translate(0, #{height})")

    type = params.type

    margin = top: 20, right: 80, bottom: 30, left: 80

    width -= margin.left + margin.right
    height -= margin.top + margin.bottom

  hideLegend: false
  hideXAxis: false
  hideYAxis: false
  title: null
  titleTextSize: '12px'
  #lineWidth: 1

fgColorParams = ['axisLineColor', 'axisTextColor', 'crosshairLineColor', 'crosshairTextColor']
