jQWidgets Forums

jQuery UI Widgets Forums Chart Charts title Issue

Tagged: ,

This topic contains 2 replies, has 2 voices, and was last updated by  sushanth009 12 years, 8 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • Charts title Issue #8544

    sushanth009
    Member

    Hello Peter,

    I was displaying the chart and the the title for the graph is pretty big..

    categoryAxis: {
    dataField: 'a',
    showGridLines: true,
    text: '100 W Chestnut St 2001, , Chicago, IL 60610 Last 12 Month's Service Data',

    But the text is being cut off in the chart that is rendered..

    I tried using and \n for extra text to be displayed in the next line, but that was of no help..

    I can override this class       .jqx-chart-title-text {
    font-size: 11px !important;
    }

    to display a smaller font size , but the font was too small to read..

    Can you suggest a fix as what can be done in such cases..

    Thanks
    Sushanth

    Charts title Issue #8562

    Peter Stoev
    Keymaster

    Hi sushanth009,

    The title will not be rendered if there’s not enough available space for it. To display long titles, use the jqxChart’s description property.

    Example:

            title: "Economic comparison",
    description: "GDP and Debt in 2010",

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    Charts title Issue #8602

    sushanth009
    Member

    Thanks for the Input.. That seems to be working now..

    I tried setting the margin-left for the title to move it a bit left//

    The part of the text that moves seems to be moving under the container. Any way to fix this..

    Thanks
    Sushanth

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.