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 #40663 is a reply to message #40656] Thu, 29 August 2013 08:08 Go to previous messageGo to previous message
koldo is currently offline  koldo
Messages: 3432
Registered: August 2008
Senior Veteran
Hello rxantos

It is done. Added and documented SetMinRange(), SetMaxRange(), SetMinXmin(), SetMinYmin(), SetMaxXmax(), SetMaxYmax().

To try to compensate the delay, the control now highlights when a limit in zoom or scroll is reached Smile

You could put this in your code:
.SetMaxRange(1000).SetMinRange(10).SetMinXmin(0).SetMaxXmax(1000);


In addition instead of rand() there is a Random(dword max) to get a random number smaller than max.

My next comment was wrong Rolling Eyes SetMaxZoom() == SetMaxRange(). It sets the visible data range.
Quote:

Your use of SetMaxZoom(NPOINTS) is not right as it works with zoom factor instead of with data range.



Best regards
IƱaki
 
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 23:39:33 CEST 2025

Total time taken to generate the page: 0.01977 seconds