dojo/dojox — pull request #112 by Kagetsume (2014-06-10 14:38:26+00:00)
Title: T18078

This is a pull request for dojo enhancement: https://bugs.dojotoolkit.org/ticket/18078. It adds in the ability to specify different alignments for the chart title. Originally, all the chart would do is center align a title. This keeps that as the default, but allows for chart, or theme setting of titleAlign, which can now be: left, right, middle, edge. The behavior is as defined:
left: Align the title all the way to the left.
right: Align the title all the way to the right.
edge: Align the title to the edge of the plot where the axis is.

All of the above try to take into account bidi, which will generally flip them around. left becomes right and so on. The question I have is on edge. In BIDI, do we mirror the axis to the right? I assumed we do now, but I could not easily tell if it actually did that. The current edge code assumes that too, which may not be accurate. Please advise.