Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » IntensityGraph, when the axis are updated?
icon1.gif  IntensityGraph, when the axis are updated? [message #1220339] Wed, 11 December 2013 08:25 Go to next message
Cedric L'homme is currently offline Cedric L'hommeFriend
Messages: 2
Registered: December 2013
Junior Member
Hello,

I need to access to the pixel location of a value to trace some helping lines when the application appears but if I use the following code
intensityGraph.getYAxis().getValuePosition(anyValue, false);

In @PostConstruct, the value is not good, I tried repaint(), pack(), updateTick(), etc. nothing works.
In @Focus, the first call is also not good but the following call are (whose are too late).

Is there a way to force internal calculus or something like that to use getvaluePosition in @PostConstruct?

Thanks.
Re: IntensityGraph, when the axis are updated? [message #1220481 is a reply to message #1220339] Thu, 12 December 2013 05:33 Go to previous messageGo to next message
Xihui Chen is currently offline Xihui ChenFriend
Messages: 8
Registered: December 2013
Junior Member
Your code seems right. It should be called after the axis is layouted.

Could you write a minimum example of your use case and paste it here?

Re: IntensityGraph, when the axis are updated? [message #1220968 is a reply to message #1220481] Mon, 16 December 2013 11:48 Go to previous message
Cedric L'homme is currently offline Cedric L'hommeFriend
Messages: 2
Registered: December 2013
Junior Member
Is there any particular place or annotation to use to be sure that the axis is layouted?
Even the first call to @Focus seems too soon.
Previous Topic:Maximize animation and maven question
Next Topic:change the background color of column headers in the Grid widget
Goto Forum:
  


Current Time: Thu Dec 26 19:53:48 GMT 2024

Powered by FUDForum. Page generated in 0.03698 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top