User (Legacy) Posted July 23, 2003 Report Share Posted July 23, 2003 I have a problem with XY-Plots: 1) I define the X-axis format as af_datetime, but the step that is automatically generated is not date/time orientated and the default labels are f.e. 10:42:47 and then 10:51:17 and then 11:01:37 and not 10:40 10:50 11:00 as expected. I solve this problem by correcting the step after setting the X- and Y-Values of the points. But how can I detect that the user had zoomed in and I have to calculate a new step? 2) If the user select the "bar" in the gallery, the labels change to a date/time outside the selected min/max. When "bar" is not allowed for XY-Plots, why can the user select it from gallery? I think i cannot use the Legend property or the label property to set the labels for the x-axis, because all series have different points on the x axis. Quote Link to comment Share on other sites More sharing options...
Software FX Posted July 23, 2003 Report Share Posted July 23, 2003 > 1) I define the X-axis format as af_datetime, but the step that is > automatically generated is not date/time orientated and the default labels > are f.e. 10:42:47 and then 10:51:17 and then 11:01:37 and not 10:40 10:50 > 11:00 as expected. An improved date-time handling is in the works for the next version and includes features such as this. > But how can I detect that the user had zoomed in and > I have to calculate a new step? You can capture the MouseUp event and Check the Zoom property. Then use GetScrollView (Axis object) to determine the viewable range. > When "bar" is not allowed for > XY-Plots, why can the user select it from gallery? I think i cannot use the > Legend property or the label property to set the labels for the x-axis, > because all series have different points on the x axis. Bar IGNORES X-Values, but you can still switch to bars from an X/Y chart. If in your particular case this does not make sense, you can customize the Gallery command to eliminate the Bar and other Galleries from it. Fro more information on Customizing commands check the following topic in the docs: "Programmer's guide - Tool Customization - Working with SubCommands" -- FP Software FX, Inc. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.