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
|
Is there a way to add a 5% to the axis without changing the Max and actual max properties of the axis? Thanks, Peter |
|
|
Hello Peter Sorry I don't quite understand what you mean here. Could you please explain it another way. Jason Fauchelle |
|
|
Hi Jason, Thanks, I got my answer. I have another question. I am drawing a 3d chart whenever a mindscape 2 d chart has the data loaded. The reason I have to wait for this is because I need to draw the same tickmarks on the 3 d chart from the mindscape chart Labels property. I tried different events to see when the chart is ready(Labels property loaded) and I am not sure which one to use. It works fine when I zoom on the mindscape chart the 3 d chart gets all the labels correctly. Is it possible to trigger a ChartZoomed event somehow that would fix my initial display issue? Another question. The labels array does not have all the major tickmarks labels. Is there a way to get all the labels for the major tick marks in the in the labels list? Thanks, Peter |
|
|
Hello Peter For the initial load, try to use the Chart.FinishedPlottingData event. Infact, you should be able to use this for zooming and panning as well. Let me know if this doesn't work for you. The Labels array should include the labels for all the major tick marks, unless some of them are being automatically skipped due to the LabelStep feature. Try setting the LabelStep property of the axes to 1, this will force it to draw a label for every tick mark. If this still does not work then it could be a bug. If so, send a repro or code snippets so I can debug it. Jason Fauchelle |
|
|
Hi Jason, Thanks for the reply. Setting the label step to 1 works, however, sometimes I get an extra label that is not represented in the chart. It happens on the x axis. So for example the chart shows values from 190 to 860 and the label step is set to 1, I see the labels property has the value 100 but I don't see it on the chart. I will skip the first label for now. Thanks, Peter |
|
|
Hello Peter Thanks for pointing out this unusual extra label. I've noted this down as something to look into. Jason Fauchelle |
|
|
Hello Peter I've updated the axis rendering methods which should no longer include tick marks or labels that aren't displayed on the axis. This update is available right now in the current nightly build. This will mean you no longer need to skip the first label. Let me know if you're still seeing these extra labels in the label collection. Jason Fauchelle |
|