Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request: a chart title method #284

Open
RichardNeill opened this issue Oct 22, 2017 · 0 comments
Open

Request: a chart title method #284

RichardNeill opened this issue Oct 22, 2017 · 0 comments

Comments

@RichardNeill
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant