A SINGLE series that has individual 'bitmaps' as points.
Posted: Tue Oct 12, 2010 3:09 am
Greetings,
I've asked this question kind of before .. but I'm still not sure .. so why not keep asking questions until I get my write permission taken away from me :-p
Is there a way to have a single series that has arbitrary and possibly unique bitmaps/icons/whatever they are called at the point values.
The other code on here I have found seem to have 1 series using 1 'custom' image for the point.
I want 1 series using multiple images
Now I can apply my images on the chart, but right now each image is its own series ... i.e. shows up in TChart.Series.Count collection .... 1 for each bitmap I use ..
This was not a problem until I started trying to build a "Value Line" tool based around the CursorTool .... on average I might have up 10 series of various types plotted on the screen as at any one time .. the cursor tool functions and snaps its way across the screen without problem .. but I have somtimes 80 single images to annotate my graph and the Cursor tool slows waaaaaaaaaaaaaaaaaaaaay down.
My underlying ValueLine code does NOT iterate through the series collection as I "SnapChange" each movement ... which somewhat confused me (I thought I was traversing too many series .. but no) and made me wonder why the cursor tool was slowing ...
If I dont plot the 80 or so bitmaps all is wonderful again ... so methinks .. reducing 80 single value series .. to 1, 80 point series could be the answer ... possible ???
Cheers.
I've asked this question kind of before .. but I'm still not sure .. so why not keep asking questions until I get my write permission taken away from me :-p
Is there a way to have a single series that has arbitrary and possibly unique bitmaps/icons/whatever they are called at the point values.
The other code on here I have found seem to have 1 series using 1 'custom' image for the point.
I want 1 series using multiple images
Now I can apply my images on the chart, but right now each image is its own series ... i.e. shows up in TChart.Series.Count collection .... 1 for each bitmap I use ..
This was not a problem until I started trying to build a "Value Line" tool based around the CursorTool .... on average I might have up 10 series of various types plotted on the screen as at any one time .. the cursor tool functions and snaps its way across the screen without problem .. but I have somtimes 80 single images to annotate my graph and the Cursor tool slows waaaaaaaaaaaaaaaaaaaaay down.
My underlying ValueLine code does NOT iterate through the series collection as I "SnapChange" each movement ... which somewhat confused me (I thought I was traversing too many series .. but no) and made me wonder why the cursor tool was slowing ...
If I dont plot the 80 or so bitmaps all is wonderful again ... so methinks .. reducing 80 single value series .. to 1, 80 point series could be the answer ... possible ???
Cheers.