Threaded View

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Ext GWT Premium Member
    Join Date
    Oct 2011
    Vote Rating
    0 is on a distinguished road


    Default Charting TimeAxis LabelProvider Does Not Handle New Line Very Well

    Hi Brendan.

    I am trying to use a LabelProvider on a TimeAxis where I format the month and day with "MM/d" followed by a new line “\n” followed by the hours and minutes formatted with "HH:mm".

    The TimeAxis labels format fine in Firefox except that there is too much space between them and the axis. In IE the labels are closer to the axis, but are shifted off center to the left.

    The attached file demonstrates the problem. Please see the method getLabel under time.setLabelProvider.

    Are we not allowed to use a new line in this context?

    If not, then can we provide some SafeHtml instead of just a String?

    Please let me know.

    John Lewis
    Attached Files

Thread Participants: 1