- Shadows with negative offsets are finally showing up, but anything, which needs to be adjusted for the shadow is either adjusting in wrong direction (headers and footers) or simply do nothing (legend title).
- Anything, which allows rotation produces completely different results for angles 315 and -45 (which is the same angle!) - look at marks or axis labels for examples.
Negative numbers
Negative numbers
I still have not found a single place in TChart, where negative numbers are valid selections and do work correctly.
Re: Negative numbers
Hello UserLs,
Please, you could say if you can reproduce the problem using previously code?
Thanks,
The problem is already known to us with number (TF02014606). I have increased its priority.Anything, which allows rotation produces completely different results for angles 315 and -45 (which is the same angle!) - look at marks or axis labels for examples.
I couldn't reproduce your problem using next code:Shadows with negative offsets are finally showing up, but anything, which needs to be adjusted for the shadow is either adjusting in wrong direction (headers and footers) or simply do nothing (legend title).
Code: Select all
public Form1()
{
InitializeComponent();
InitializeChart();
}
Steema.TeeChart.Styles.Bar bar1;
private void InitializeChart()
{
tChart1.Header.Visible = true;
bar1 = new Steema.TeeChart.Styles.Bar(tChart1.Chart);
bar1.FillSampleValues();
bar1.Pen.Visible = false;
tChart1.Header.Font.Shadow.Visible = true;
tChart1.Header.Font.Shadow.Width = -9;
tChart1.Header.Font.Shadow.Height= -9;
}
Thanks,
Best Regards,
Sandra Pazos / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: Negative numbers
Here I've set legeng title shadow offsets to (-20, -20) so the problem is more visible:
If I am using offsets (20, 20) - the shadow now is outside the legend box: After I started to call Chart.Refresh() before saving it to file, legend at least tries to recalc its rectangle for the negative shadows.
You cannot see the shadow and the title is running out of the legend box.If I am using offsets (20, 20) - the shadow now is outside the legend box: After I started to call Chart.Refresh() before saving it to file, legend at least tries to recalc its rectangle for the negative shadows.
Re: Negative numbers
For the headers as you can see shadow with negative offsets (-20, -20) do not show up, but the graph is trying to recalc positions to accommodate the shadow. As I suspect, the problem here - offsets are treated as positive numbers and threrefore parts of graph are running onto each other.
The next image is using positive, but big offsets, just to show, that shadows still have major probles (ironically, a lot better behavior is demonstrated by shapes with round rectangle!)
The next image is using positive, but big offsets, just to show, that shadows still have major probles (ironically, a lot better behavior is demonstrated by shapes with round rectangle!)
Re: Negative numbers
Hello UserLs,
I could reproduce your problems with shadow and I have added in list bug report with number [TF02014741]. We will try to fix for next versions release of TeeChart.Net
Thanks,
I could reproduce your problems with shadow and I have added in list bug report with number [TF02014741]. We will try to fix for next versions release of TeeChart.Net
Thanks,
Best Regards,
Sandra Pazos / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |