jQWidgets Forums

jQuery UI Widgets Forums Chart how to set value to unitInterval via a variable?

This topic contains 1 reply, has 1 voice, and was last updated by  kingaru 11 years, 2 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author

  • kingaru
    Participant

    Hello!

    In order to define proper scale for my chart’s grid I need to assign variable values to “unitInterval:” which I receive via dataAdapter from a database. I tried to utilize downloadComplete, loadCOmplete and beforeLoadComplete in the dataAdapter for this purpose but unfortunately it did not work 🙁 It looks like jqxChart sets unitInterval before processing dataAdapter defined in “source:”. Could you please advice what would be the right solution here ?

    Thanks in advance & Regards
    Igor


    kingaru
    Participant

    Nevermind … I found the issue… I should be using sync method in the dataAdapter instead of async one …

    Regards
    Igor

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

You must be logged in to reply to this topic.