Results 1 to 2 of 2

Thread: How to change axes and series dynamically in Sencha Touch 2.3 Charts?

  1. #1

    Default How to change axes and series dynamically in Sencha Touch 2.3 Charts?

    Hi,

    I am trying to change the axes and series at runtime by using ChartControl.setAxes() and ChartControl.setSeries(). But by doing this way old chart is still there along with the axes.
    Please let me know how to re-configure or change the axes and series of a chart dynamically with out removing and adding a new chart.

    Thanks & Regards,
    Suraj.

  2. #2
    Sencha - Support Team
    Join Date
    Oct 2011
    Posts
    4,108
    Answers
    342

    Default

    Have you tried calling the charts redraw method after changing the axes or series?
    http://docs.sencha.com/touch/2.3.1/#...-method-redraw
    Get more personalized support via a support subscription.

    Need more help with your app? Hire Sencha Services [email protected]

    When posting code, please use BBCode's CODE tags.

    Need to include a test case use:
    The official Sencha Fiddle

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •