How to the Mouse to Change Horizontal Stacked Bar Series?
Posted: Fri Feb 12, 2016 3:42 pm
Hi,
Here's the situation. I have data (e.g. sales) which ranges in value across zip codes. I'd like to split this range up into separate "buckets". Each bucket will eventually be a different color plotted on a map.
I think a great way to define the buckets would be using a Horizontal Stacked bar chart. Ideally the user would use the mouse to hover over the dividing line, the cursor would change to crHSize, and when the user clicked and dragged left or right, the data series would change. See image:
http://content.screencast.com/users/Ste ... -10.32.png
What's the best way to accomplish this mouse functionality? How do I know when the mouse is over a dividing line?
Note: I am not wanting to use TChart to plot the map. I'd like to only use TChart to define the dividing lines between each bucket.
Thanks,
Steve
Here's the situation. I have data (e.g. sales) which ranges in value across zip codes. I'd like to split this range up into separate "buckets". Each bucket will eventually be a different color plotted on a map.
I think a great way to define the buckets would be using a Horizontal Stacked bar chart. Ideally the user would use the mouse to hover over the dividing line, the cursor would change to crHSize, and when the user clicked and dragged left or right, the data series would change. See image:
http://content.screencast.com/users/Ste ... -10.32.png
What's the best way to accomplish this mouse functionality? How do I know when the mouse is over a dividing line?
Note: I am not wanting to use TChart to plot the map. I'd like to only use TChart to define the dividing lines between each bucket.
Thanks,
Steve