Chartbook and X-Axis granularity
Posted: Wed Oct 12, 2011 8:57 pm
Hello,
I plan on using a Chartbook to display data in various time granularity. One chart would display data in 15min steps, another would display it in hourly steps, another in daily, another in monthly.
I plan on saving this configuration using the Template.Save (Stream). I would save only the configuration and template information, not the actual series data. But I want to save the granularity of each graph (15min,hourly,daily, monthly) so that I can re-query the proper tables in my db when the user re-opens the graph at a later time.
My question: Is there a property in the TeeChart object where I could store this granularity information? Like a place to store "user data"? I don't want this information to change if the user "zooms in" or changes the graph in any way... this is kind of a "data query granularity".
Thanks for your time!
Marc.
I plan on using a Chartbook to display data in various time granularity. One chart would display data in 15min steps, another would display it in hourly steps, another in daily, another in monthly.
I plan on saving this configuration using the Template.Save (Stream). I would save only the configuration and template information, not the actual series data. But I want to save the granularity of each graph (15min,hourly,daily, monthly) so that I can re-query the proper tables in my db when the user re-opens the graph at a later time.
My question: Is there a property in the TeeChart object where I could store this granularity information? Like a place to store "user data"? I don't want this information to change if the user "zooms in" or changes the graph in any way... this is kind of a "data query granularity".
Thanks for your time!
Marc.