Results 1 to 2 of 2

Thread: Possibilities to adapt / enhance charts presentational logic?

  1. #1
    Sencha User
    Join Date
    Jun 2012
    Location
    Cologne.Germany
    Posts
    5
    Vote Rating
    2
      0  

    Default Unanswered: Possibilities to adapt / enhance charts presentational logic?

    Hello together,
    I'm a student of media informatics and a newcomer to Sencha Touch / Charts.
    For a student project I'm interested in how can I adapt the prebuild chart-types
    with custom (presentational) logic and visual design.


    As an example:
    I'd like to combine a bar chart with some graphical symbols for representing
    good, average and bad values-ranges (as a kind of traffic-light status-indicator)
    separately per each bar of the chart.
    I'd like to integrate this as closely as possibly "into" a bar chart, not in a separate chart,
    and bound to the same data-source. So in the case when I apply a filter both kind of
    presentations should be updated immediately and corresponding to each other.
    So I'm not sure if via CSS or SASS is a way to do this.


    Is there any support by design, e.g. via a plugin-mechanism or by deriving classes?
    Is there a best practice or any other approach for this?


    Any hint and help is very appreciated
    Thanks in advance,
    Torsten

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,335
    Answers
    3885
    Vote Rating
    1296
      0  

    Default

    You can always extend a class to change/modify behavior. Do note that there will be a major overhaul of the charts coming soon.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it!

    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

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

Tags for this Thread

Posting Permissions

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