jQWidgets Forums

jQuery UI Widgets Forums Chart Hide title and description

This topic contains 4 replies, has 2 voices, and was last updated by  ivailo 9 years, 2 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • Hide title and description #83047

    mengl2
    Participant

    Hi,

    How do I not show the title and description of the chart?

    Thanks!
    Meng

    Hide title and description #83048

    mengl2
    Participant

    Hi,

    I have another question. After my chart gets rendered, let’s say users toggle a serie by clicking the legend. How do I bring the serie back when I change the data source and refresh the chart?

    Thanks very much!
    Meng

    Hide title and description #83054

    ivailo
    Participant

    Hi mengl2,

    If you don’t want to show title and description in your chart – set them with an empty string.
    Here is a demo.

    About changing data source and refresh the chart dynamically, this demo could be helpful for you.

    Best Regards,
    Ivailo Ivanov

    jQWidgets Team
    http://www.jqwidgets.com

    Hide title and description #83058

    mengl2
    Participant

    Hi,

    Hiding title and description works for me!
    For toggling the data serie back, I didn’t see your demo shows how to do it. After I hide a serie by toggling the legend and then update the chart, the hidden serie remains hidden. How do I bring the hidden serie back? Could you provide another example?

    Thanks!
    Meng

    Hide title and description #83096

    ivailo
    Participant

    Hi mengl2,

    You can try with showSerie method:
    $('#jqxChart').jqxChart('showSerie', 0, 1, NaN);

    This code shows a hidden chart serie. The result of calling this function is same as
    the user checking the legend box of a chart serie. The itemIndex parameter is optional and applicable to pie and donut series only.

    Best Regards,
    Ivailo Ivanov

    jQWidgets Team
    http://www.jqwidgets.com

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

You must be logged in to reply to this topic.