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 » Resizing the font of the Y scale bar of a scatter
Resizing the font of the Y scale bar of a scatter [message #50504] Mon, 12 November 2018 10:27 Go to next message
Giorgio is currently offline  Giorgio
Messages: 218
Registered: August 2015
Experienced Member
Hi there,
I need to resize the font on the Y scale bar of a scatter (see attached image). I have tried with SetLabelsFont and even with SetTitleFont, without results. I noticed that there is a Graduation_FormatY method, but I do not understand what parameter I have to use.
Thanks,
gio

https://ibb.co/dm9HkA

[Updated on: Mon, 12 November 2018 10:31]

Report message to a moderator

Re: Resizing the font of the Y scale bar of a scatter [message #50506 is a reply to message #50504] Mon, 12 November 2018 11:16 Go to previous messageGo to next message
koldo is currently offline  koldo
Messages: 3355
Registered: August 2008
Senior Veteran
SetReticleFont() Smile

Best regards
Iñaki
Re: Resizing the font of the Y scale bar of a scatter [message #50513 is a reply to message #50506] Mon, 12 November 2018 11:53 Go to previous messageGo to next message
Giorgio is currently offline  Giorgio
Messages: 218
Registered: August 2015
Experienced Member
Hi Koldo,
there must be something wrong with my code. When I am typing and I try to add .SetReticleFont(), it does not appear in the list of avilable methods for the object. There are .SetRange(), .SetRect() and many others, but there is no .SetReticleFont() method. If I add it anyway, I got the following error:

error: 'class ScatterCtrl' has no member named 'SetReticleFont'; did you mean 'SetTitleFont'?


The object is declared as ScatterCtrl and, apart this, is working correctly.
Re: Resizing the font of the Y scale bar of a scatter [message #50515 is a reply to message #50513] Mon, 12 November 2018 12:08 Go to previous messageGo to next message
koldo is currently offline  koldo
Messages: 3355
Registered: August 2008
Senior Veteran
Hello Giorgio

ScatterCtrl class is derived from ScatterDraw, so all public and protected ScatterDraw methods are accessible to ScatterCtrl.

Maybe the problem comes because you are chaining SetReticleFont() to a ScatterCtrl method.

To be sure, please open ScatterDraw.h file and look for SetReticleFont() method.


Best regards
Iñaki
Re: Resizing the font of the Y scale bar of a scatter [message #50517 is a reply to message #50515] Mon, 12 November 2018 12:57 Go to previous messageGo to next message
Giorgio is currently offline  Giorgio
Messages: 218
Registered: August 2015
Experienced Member
koldo wrote on Mon, 12 November 2018 12:08
To be sure, please open ScatterDraw.h file and look for SetReticleFont() method.


Uhm, the plot thickness. I have no SetReticleFont() method in ScatterDraw.h. I have the latest stable version of Upp (build 11873) and I did not change the upp sources. Has that method been introduced recently?
Re: Resizing the font of the Y scale bar of a scatter [message #50518 is a reply to message #50517] Mon, 12 November 2018 13:03 Go to previous messageGo to next message
koldo is currently offline  koldo
Messages: 3355
Registered: August 2008
Senior Veteran
Yes, ScatterDraw/ScatterCtrl have had many changes recently.
I advice you to update.


Best regards
Iñaki
Re: Resizing the font of the Y scale bar of a scatter [message #50520 is a reply to message #50518] Mon, 12 November 2018 14:12 Go to previous messageGo to next message
Giorgio is currently offline  Giorgio
Messages: 218
Registered: August 2015
Experienced Member
koldo wrote on Mon, 12 November 2018 13:03
Yes, ScatterDraw/ScatterCtrl have had many changes recently.
I advice you to update.


I see... there is some plan for the release of a stable version of upp or should I go for the nightly build?
Re: Resizing the font of the Y scale bar of a scatter [message #50521 is a reply to message #50520] Mon, 12 November 2018 16:12 Go to previous messageGo to next message
koldo is currently offline  koldo
Messages: 3355
Registered: August 2008
Senior Veteran
At least referring to Scatter, actual nighty build is better than stable version.

Best regards
Iñaki
Re: Resizing the font of the Y scale bar of a scatter [message #50533 is a reply to message #50521] Tue, 13 November 2018 11:04 Go to previous message
Giorgio is currently offline  Giorgio
Messages: 218
Registered: August 2015
Experienced Member
Thanks, I'll give it a try.
Previous Topic: Automation Internet Explorer
Next Topic: MSVC17 - How set language for error messages
Goto Forum:
  


Current Time: Fri Mar 29 08:44:02 CET 2024

Total time taken to generate the page: 0.02208 seconds