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   |
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
|
|
|
 |
|
Adding a text box in a scatterDraw/ScatterCtrl
By: Giorgio on Tue, 07 February 2017 09:46
|
 |
|
Re: Adding a text box in a scatterDraw/ScatterCtrl
By: koldo on Wed, 08 February 2017 08:35
|
 |
|
Re: Adding a text box in a scatterDraw/ScatterCtrl
By: Giorgio on Wed, 08 February 2017 09:20
|
 |
|
Re: Adding a text box in a scatterDraw/ScatterCtrl
By: koldo on Wed, 08 February 2017 11:34
|
 |
|
Re: Adding a text box in a scatterDraw/ScatterCtrl
By: Giorgio on Wed, 08 February 2017 12:02
|
 |
|
Re: Adding a text box in a scatterDraw/ScatterCtrl
By: koldo on Fri, 10 February 2017 14:12
|
 |
|
Re: Adding a text box in a scatterDraw/ScatterCtrl
By: Giorgio on Fri, 10 February 2017 15:38
|
 |
|
Re: Adding a text box in a scatterDraw/ScatterCtrl
By: koldo on Fri, 10 February 2017 23:15
|
 |
|
Re: Adding a text box in a scatterDraw/ScatterCtrl
By: Giorgio on Wed, 17 May 2017 12:11
|
 |
|
Re: Adding a text box in a scatterDraw/ScatterCtrl
By: koldo on Wed, 17 May 2017 17:04
|
 |
|
Re: Adding a text box in a scatterDraw/ScatterCtrl
By: Giorgio on Wed, 17 May 2017 17:43
|
 |
|
Re: Adding a text box in a scatterDraw/ScatterCtrl
By: Giorgio on Fri, 19 May 2017 13:11
|
 |
|
Re: Adding a text box in a scatterDraw/ScatterCtrl
By: koldo on Thu, 25 May 2017 20:07
|
 |
|
Re: Adding a text box in a scatterDraw/ScatterCtrl
By: Giorgio on Fri, 26 May 2017 14:45
|
 |
|
Re: Adding a text box in a scatterDraw/ScatterCtrl
By: koldo on Mon, 29 May 2017 12:45
|
 |
|
Re: Adding a text box in a scatterDraw/ScatterCtrl
By: Giorgio on Mon, 12 June 2017 11:52
|
 |
|
Re: Adding a text box in a scatterDraw/ScatterCtrl
By: koldo on Tue, 13 June 2017 09:51
|
Goto Forum:
Current Time: Tue May 06 06:44:06 CEST 2025
Total time taken to generate the page: 0.01079 seconds
|