3 Jul 2012 2:13 AM #1
Unanswered: Possibilities to adapt / enhance charts presentational logic?
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,
4 Jul 2012 12:56 PM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
You can always extend a class to change/modify behavior. Do note that there will be a major overhaul of the charts coming soon.
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
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 email@example.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.