Hello,
when I move a Shape near the left border of my TChart (e.a. shape.setX0(2)), the Shape competely disappears. Values for X0 > 5 work fine. If the X0-Value gets smaller than 6 the shape disappears. Is there a setting, that I can make to prevent the shape from disappearing even for values smaller 0?
Thank you for your help.
kind regards,
Oliver
Shape disappears near left border
Shape disappears near left border
- Attachments
-
- Kommentar1.png (27.47 KiB) Viewed 50857 times
Re: Shape disappears near left border
Can you provide a minimal working example illustrating the problem. This usually helps in analysing the problem.
Re: Shape disappears near left border
I haven't been able to reproduce the problem. As patronas suggests, please try to arrange a simple example project we can run as-is to reproduce the situation.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Shape disappears near left border
Finally I found the time to arrange a simple example project. Sorry for the long time between my answer.
The projekt is written in Netbeans 8.2. In cause of the Upload-limitation, I had to remove the TChart.Swing-Library from the dist-directory.
Thanks for your help.
The projekt is written in Netbeans 8.2. In cause of the Upload-limitation, I had to remove the TChart.Swing-Library from the dist-directory.
Thanks for your help.
- Attachments
-
- TChartTest.zip
- (32.68 KiB) Downloaded 2290 times
Re: Shape disappears near left border
Hello Oliver,
The problem lies in a missing variable setting in Shape Series.
If you have access to modify the sourcecode, the change is here:
Shape.java
Constructor:
We are making the change to the source to be included with the next update.
(logged here: http://bugs.teechart.net/show_bug.cgi?id=2222)
Regards,
Marc
The problem lies in a missing variable setting in Shape Series.
If you have access to modify the sourcecode, the change is here:
Shape.java
Constructor:
Code: Select all
public Shape(IBaseChart c) {
super(c);
shape = new TextShape(c);
calcVisiblePoints = false; //<--- add this line.
addDefaultPoints();
}
(logged here: http://bugs.teechart.net/show_bug.cgi?id=2222)
Regards,
Marc
Re: Shape disappears near left border
Hello Marc,
your workaround works fine for my problem. Thank you.
Regards,
Oliver
your workaround works fine for my problem. Thank you.
Regards,
Oliver