Open RichardNeill opened 7 years ago
We have dimple.axis.title but there's no corresponding: dimple.chart.title . This would be nice to add.
Aside: for those seeking a workaround, it can be done by D3 directly, after calling myChart.draw() with something like:
svg.append("text").attr("x", myChart._xPixels()+myChart._widthPixels()/2).attr("y", myChart._yPixels()-20).style("text-anchor","middle").style("font-weight","bold").text("MY CHART TITLE");
Thank you.
We have dimple.axis.title but there's no corresponding: dimple.chart.title . This would be nice to add.
Aside: for those seeking a workaround, it can be done by D3 directly, after calling myChart.draw() with something like:
svg.append("text").attr("x", myChart._xPixels()+myChart._widthPixels()/2).attr("y", myChart._yPixels()-20).style("text-anchor","middle").style("font-weight","bold").text("MY CHART TITLE");
Thank you.