in

Software FX Community

Discuss and find help for all Software FX products.

Fractional zooming for DataPath on x-axis

Last post 07-02-2009 6:46 PM by dksimon. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 07-02-2009 6:46 PM

    Fractional zooming for DataPath on x-axis

    Is there a way to mimic the Selection scrolling mechanism for a DataPath x-axis, by setting the zoom to a percentage of the visible view? What I mean is, say I have daily closing stock prices going back 1 year. There are gaps in the data for weekends, but these gaps are collapsed by DataPath, as they should be. If I use selection zooming, I can scroll left and right and it looks consistent; the fraction of the total visible area remains constant. I'd like to do this programatically using SetScrollView(), but I can't figure out any way to do this at all. It would work if there were a way for me to say "show between 20% and 30% of the visible range," which I can't do based on the total date range if there are gaps in the date data, as the same time span could contain more or fewer points depending on the time span selected. Is there a recommended approach? Thanks
Page 1 of 1 (1 items)
Copyright 2008 Software FX, Inc.