-
22 Oct 2009 3:13 AM #1
Chart title
Chart title
Hi,
Is it possible to add a title to a chart?
I've looked through the examples and the titles there appear in the container that contains the graph. This is OK, however I would like it to appear in the chart itself.
If this is possible, could I see an example, because I've tried a few things and have had no luck so far.
Thanks for your help,
Tom
-
29 Oct 2009 5:54 AM #2Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- Frederick MD, NYC, DC
- Posts
- 16,169
- Vote Rating
- 28
I've customized the hell out of charts but have not seen a way to do this. The closest i could come was adding X and Y axis labels. :-\

Jay Garcia @ModusJesus || Modus Create co-founder
Ext JS in Action author
Sencha Touch in Action author
Get in touch for Ext JS & Sencha Touch Touch Training
We are also working on Video-based Sencha Touch training: Check it out here.
-
7 Oct 2011 1:39 PM #3
I have been trying to figure this out for months. Finally came up with this workaround. The only downside is the added black axis line. If anyone can come up with a fix for that, let me know
Code:function emptyText(val) {return '';} axes : [{ type : 'Category', position: 'top', label : {renderer: emptyText}, title : 'Title!!!!!!!!', dashSize: 0 } ...]


Reply With Quote