Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Newbie corner » (SOLVED) ScatterCtrl, 2 questions.
Re: ScatterCtrl, 2 questions. [message #40618 is a reply to message #40615] Fri, 23 August 2013 17:07 Go to previous messageGo to previous message
rxantos is currently offline  rxantos
Messages: 73
Registered: October 2011
Member
Thanks for responding.

When the mouse wheel is used, the user can zoom in and out. I want to know how to I limit the zoom out so that the x range is never greater than the data range. In the x I just use 0,1,2,3, etc. Lets say its from 0 to 1,000. Right now if the user zooms out with the wheel, the range goes in the negative in one side and over 1,000 in the other. I want it so that it always stays at a maximum zoom out of 0 to 1000. while allowing a zoom in lets say 0 to 10,

The 2nd problem:

The Y data is not the random I show in the example, but it has the same problem. Sometimes the spikes in the data are skipped and the data seem clean when in reality there is a spike on an area. The problem does not happen when exporting a png from the control only when using the control. My guess is that for speed reason some of the data is skipped when rendering the control. Lets say the same data 0 to 1000 and there are 100 pixels. And point 7 is an 8, point 9 a 100 and point 10 a 10. Sometimes the spike (The 100) is not shown. And sometimes it is. I wonder if there is a setting to avoid this and make it always show the spike (a flag maybe).
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message icon14.gif
Read Message
Previous Topic: Can't add asembly from bazzar
Next Topic: Painter 2.0 Path definition: mix of cubics and quadratics
Goto Forum:
  


Current Time: Tue May 06 21:35:07 CEST 2025

Total time taken to generate the page: 0.05591 seconds