This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hi There, When we plot the scatter series on the chart, it holds on to the chartSymbol instance for each point, so it takes a lot of memory if the we have a lot of point to draw. Attached is the project. and please let me know if we are doing something wrong: 1) Unzip the file 2) Compile and run the application and use Red-Gate ants to run the memory profile 3) Click on button "Add Scatter Curve" button 4) do memory snapshot 5)go to Class List tab on red-gate memory profiler 6) Search for the Class ChartSymbol - you will see a lot of instance of this class. My questions is can you use one instance for the same kind of symbol for all the points on the same scatter series when you draw them? The symbols created in my function: SymolStyles.SymbolStyle(MarkerType type, Style basedOnStyle) only once for same kind symbols. Thanks Gordon |
|
|
Hello Gordon Unfortunately you can't have the same instance of ChartSymbol for all identical points. The reason for this is mainly because of selection. Each point needs it's own selection state info and selection interaction logic. Each point needs to be some kind of control so that styles/templates can be applied. This is something we can not change. Jason Fauchelle |
|