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 » Adding a text box in a scatterDraw/ScatterCtrl
Re: Adding a text box in a scatterDraw/ScatterCtrl [message #48143 is a reply to message #48141] Fri, 26 May 2017 14:45 Go to previous messageGo to previous message
Giorgio is currently offline  Giorgio
Messages: 218
Registered: August 2015
Experienced Member
Hi Koldo,
thank you for you prompt support.

I have noticed something weird with this release.

This is the application compiled with the old version:

https://ibb.co/hjKz5v

This is the one with the the new version:

https://ibb.co/cuMJyF

A little background: to draw the big bars in the lower part of the screen I use this code

Vector<Pointf> b_temp = {};
b_temp << Pointf(t_in, posBarre) << Pointf(t_fine, posBarre);
barre.Add(b_temp);

...

for(int i = 0; i < barre.size(); i++){

  ...

  scOee.AddSeries(barre[i]).NoMark().Stroke(30, t_color).Dash(LINE_SOLID).Legend(AsString(i));
}



To draw the light green line I use the following code:

Vector<Pointf> v_media_temp = {};
v_media_temp << Pointf(t_in, lista_ml_l[i].QuestaMLav.v_media ) << Pointf(t_fine, lista_ml_l[i].QuestaMLav.v_media);
vel_media.Add(v_media_temp);

...

for(int i = 0; i < vel_media.size(); i++)
{

  ...

  scOee.AddSeries(vel_media[i]).NoMark().Stroke(1, LtGreen).Dash(LINE_SOLID).Legend("vm"+AsString(i));
}


The important thing here is that both the big bars and the light green line share the same x (t_in in my code). Thus, they are aligned. This is what happened with the old version, but with the new version they are no more aligned.

As far as regards, the report, I still get round edges:

https://ibb.co/gEXQdF

Regards,
Gio
 
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
Read Message
Read Message
Read Message
Previous Topic: Can I use Input method(IM,IME) with Ultimate++?
Next Topic: Save sccatterCtrl to png: resolution
Goto Forum:
  


Current Time: Tue May 06 06:44:06 CEST 2025

Total time taken to generate the page: 0.01079 seconds