Search found 64 matches

by Michal Blazejczyk
Thu Jun 03, 2010 10:44 pm
Forum: .NET
Topic: Huge margins on plots with long rotated axis labels
Replies: 5
Views: 1643

Re: Huge margins on plots with long rotated axis labels

Hi Yeray, In this case I'm even more surprised because issue TF02013509 you mention is a manifestation of the same problem that I described. It was reported in October 2008, and it is still not fixed??? Could you suggest a workaround, i.e. a way of detecting this situation, and manually making the p...
by Michal Blazejczyk
Wed Jun 02, 2010 3:19 pm
Forum: .NET
Topic: Huge margins on plots with long rotated axis labels
Replies: 5
Views: 1643

Re: Huge margins on plots with long rotated axis labels

Hi,

Does it mean that it doesn't work well in even recent versions, either? That's sad... :(

Best,
Michal
by Michal Blazejczyk
Tue Jun 01, 2010 2:57 am
Forum: .NET
Topic: Huge margins on plots with long rotated axis labels
Replies: 5
Views: 1643

Huge margins on plots with long rotated axis labels

Hi, We are a few versions behind with TeeChart (3.5.3188.18561), but all has been working fine until now... We have a few charts with fairly long bottom axis labels, so we are rotating the text. The problem is that this leaves huge white margins under the chart... Steema - Huge margin.png Is there a...
by Michal Blazejczyk
Thu Nov 26, 2009 10:57 pm
Forum: .NET
Topic: Dynamically showing/hiding axis labels
Replies: 8
Views: 2557

Re: Dynamically showing/hiding axis labels

Hi Sandra,

Thank you, it works well inside the Resize() event and with removing of all labels prior to hiding them.

Best,
Michal
by Michal Blazejczyk
Wed Nov 25, 2009 8:44 pm
Forum: .NET
Topic: Dynamically showing/hiding axis labels
Replies: 8
Views: 2557

Re: Dynamically showing/hiding axis labels

Hi Sandra, I think the problem is that I'm using Axis.Labels.Items to provide custom axis labels. private void InitializeChart() { Points points = new Steema.TeeChart.Styles.Points( _chart.Chart ); points.Add( new int[] { 1, 5, 10, 15, 20 }, new int[] { 1, 5, 10, 15, 20 } ); ArrayList rowNames = new...
by Michal Blazejczyk
Tue Nov 24, 2009 4:40 pm
Forum: .NET
Topic: Dynamically showing/hiding axis labels
Replies: 8
Views: 2557

Re: Dynamically showing/hiding axis labels

Hi Sandra, I'm afraid you are misunderstanding me. This post is not related to my other post ("Detecting too small plot area?"). The issue raised in this post is the following: I would like that Y axis labels disappear completely once the plot area becomes smaller than, say, 50 pixels in height. I n...
by Michal Blazejczyk
Mon Nov 23, 2009 10:34 pm
Forum: .NET
Topic: Dynamically showing/hiding axis labels
Replies: 8
Views: 2557

Re: Dynamically showing/hiding axis labels

Hi Sandra, I started to create a test project, but in fact, I think it will be easier if we turned this question around. Could you create a small project for me with a single data series (say, of type Points). And I would like that if the plot area (but NOT the entire chart window - only the area be...
by Michal Blazejczyk
Mon Nov 23, 2009 10:31 pm
Forum: .NET
Topic: Detecting too small plot area?
Replies: 2
Views: 917

Re: Detecting too small plot area?

Hi Sandra,

No, your code doesn't work either.

But I have checked this on the most recent version of TeeChart, and it seems like it works fine there. I'll have to try to upgrade.

Best,
Michal
by Michal Blazejczyk
Fri Nov 20, 2009 9:58 pm
Forum: .NET
Topic: Detecting too small plot area?
Replies: 2
Views: 917

Detecting too small plot area?

Hi, In BeforeDrawSeries my code is trying to calculate how big is the area within the axes (all the values here are in pixels): int topEdge = Chart.ChartBounds.Top + Axes.Top.Position + 1; int bottomEdge = Axes.Left.CalcPosValue( Axes.Left.Inverted ? Axes.Left.Maximum : Axes.Left.Minimum ); int left...
by Michal Blazejczyk
Fri Nov 20, 2009 9:31 pm
Forum: .NET
Topic: Dynamically showing/hiding axis labels
Replies: 8
Views: 2557

Dynamically showing/hiding axis labels

Hello, I have a plot where I need to display or hide the labels of the left axis depending on whether the plot height (in pixels) is big enough. I've tried setting it up during the original plot setup but the size of the plot area is not known at that point. I've also tried to use BeforeDrawAxes and...
by Michal Blazejczyk
Wed Nov 04, 2009 6:35 pm
Forum: .NET
Topic: Custom legend text
Replies: 1
Views: 752

Custom legend text

Hi, I have a custom legend that uses a palette to display a series of colors. I use a Custom3DPalette object to set up the palette, and then call the following code: chart.Legend.LegendStyle = LegendStyles.Palette; chart.Legend.Series = palette; chart.Legend.Visible = true; chart.Legend.MaxNumRows =...
by Michal Blazejczyk
Tue Oct 21, 2008 3:09 pm
Forum: .NET
Topic: Palette no longer applied by default to new series
Replies: 13
Views: 3048

Hi Narcís,

It was 3.2.3016.15521. I just tried it, and it does color the series automatically.

Best,
Michal
by Michal Blazejczyk
Fri Oct 17, 2008 4:47 pm
Forum: .NET
Topic: Palette no longer applied by default to new series
Replies: 13
Views: 3048

Hi Narcís,

But this used to happen automatically... So you are saying that now it has to be done manually? (I'm asking because I want to be sure before I go on and modify a whole bunch of code...)

Best,
Michal
by Michal Blazejczyk
Tue Oct 14, 2008 5:47 pm
Forum: .NET
Topic: Palette no longer applied by default to new series
Replies: 13
Views: 3048

Hi Narcís,

ColorEach is not what I'm aiming at. I would like that all points in a given series have the same color, but that this color be different for different series.

Best,
Michal
by Michal Blazejczyk
Fri Oct 10, 2008 8:38 pm
Forum: .NET
Topic: Palette no longer applied by default to new series
Replies: 13
Views: 3048

Hi,

I uploaded a sample project - file TeeChartSeriesColorsBug.zip - through the web page.

Run the program, click on "Go", and browse for file pcaplot.ten, included in the ZIP.

I'm looking forward to hearing from you :)

Best,
Michal