Search found 29 matches

by Werner
Thu Jan 18, 2007 9:51 am
Forum: .NET
Topic: custom AxisLabels overlap
Replies: 61
Views: 98564

Hi Narcis!

OK. Lets consider this discussion closed.
In case you decide to work on this issue in a further release, please let me know.

Regards
Werner
by Werner
Mon Jan 15, 2007 11:35 am
Forum: .NET
Topic: custom AxisLabels overlap
Replies: 61
Views: 98564

Hi Narcis!

The problem is still there with the new version.

I could reproduce the problem on the your sample with

Code: Select all

WebChart1.Width = 1820;
line.FillSampleValues(26);
Can you reproduce the behaviour on your side?

Regards
Werner
by Werner
Fri Jan 12, 2007 2:22 pm
Forum: .NET
Topic: custom AxisLabels overlap
Replies: 61
Views: 98564

Hi Narcis!

Interesting.

No, I have version 2.0.2469.25744.
I'll download the new version and try again.
Thanks for testing.

Regards
Werner
by Werner
Fri Jan 12, 2007 2:00 pm
Forum: .NET
Topic: custom AxisLabels overlap
Replies: 61
Views: 98564

Hi Narcis!

Maybe the number of SampleValues is different
Please try with width 1820 and

Code: Select all

line.FillSampleValues(26);
Regards
Werner
by Werner
Fri Jan 12, 2007 1:33 pm
Forum: .NET
Topic: custom AxisLabels overlap
Replies: 61
Views: 98564

Hi Narcis!

Just set the width of the last sample you posted to 1750 and watch the labels.

Code: Select all

WebChart1.Width = 1750;

Then you will see what I mean.

Regards
Werner
by Werner
Thu Jan 11, 2007 6:10 pm
Forum: .NET
Topic: custom AxisLabels overlap
Replies: 61
Views: 98564

Hi Narcis! Sorry, I just copied the wrong text. Yes, I used GetAxisLabel event and I used pretty much the same code as you did. In my sample the size of the chart changes with the window size, so I can easily play around. When I get to the point where it could change direction to horizontal, I get t...
by Werner
Thu Jan 11, 2007 5:49 pm
Forum: .NET
Topic: custom AxisLabels overlap
Replies: 61
Views: 98564

Hi Narcis!

Thanks for testing.
Sorry, but it does not always work. I'll post a sample to the attachments, where you can see.
If the labels almost fit in, the labels are clipped again.

Can you reproduce this?

Regards
Werner
by Werner
Mon Jan 08, 2007 10:49 am
Forum: .NET
Topic: custom AxisLabels overlap
Replies: 61
Views: 98564

MarginBottom

Hi! I adapted the sample into my web app. But if the labels are turned, they are clipped at the bottom. I thought MarginBottom would solve this issue, but it does not or cannot be changed at that moment. Please give me instructions on how to increase the margin at that point. Thanks for the help. We...
by Werner
Mon Jan 08, 2007 9:09 am
Forum: .NET
Topic: custom AxisLabels overlap
Replies: 61
Views: 98564

Hi Narcis! At first the sample did not work. Should have mentioned that I had to add the BeforeDrawAxes event. Well, I managed to find that out myself. Nice idea, Narcis! I picked up your idea and simplified the code - I assume you wrote it quick and dirty :wink: OK, here is my version, which I hope...
by Werner
Fri Jan 05, 2007 1:09 pm
Forum: .NET
Topic: custom AxisLabels overlap
Replies: 61
Views: 98564

Hi Narcis!

Thanks for the example.
Took me quite long to understand your approach.

Is there a way to calculate IAxisSize every time?
The size of my WebChart is adapted to the window size.

Regards
Werner
by Werner
Tue Jan 02, 2007 10:45 am
Forum: .NET
Topic: custom AxisLabels overlap
Replies: 61
Views: 98564

Hi Narcis! Have you tried using Invalidate? I have - have you? Read my previous posts before writing, PLEASE :x Or get Christopher back to the forum, because he does. Thanks for the annotation sample, looks too much work for me. I'd rather find a way to repaint the graph before trying with this. Any...
by Werner
Fri Dec 29, 2006 12:18 pm
Forum: .NET
Topic: custom AxisLabels overlap
Replies: 61
Views: 98564

Hi Christopher! When I do Invalidate nothing happens. What I want to do is: Check for overlapping labels, and if there are any, turn the labels with this: WebChartProdukt.Chart.Axes.Bottom.Labels.Angle = 90; and then redraw the whole thing. If I do WebChartProdukt.Chart.Axes.Bottom.Labels.Draw(true)...
by Werner
Fri Dec 29, 2006 11:09 am
Forum: .NET
Topic: custom AxisLabels overlap
Replies: 61
Views: 98564

Hi Christopher! I am glad you are back! This makes debugging straight forward again. Good idea with Release mode, but using Bitmap in Release mode is still slow. I've tried with AfterDraw, but WebChartProdukt.Chart.Invalidate(); does not redraw the graphic. Do I have to use Draw instead? Regards Wer...
by Werner
Thu Dec 28, 2006 4:02 pm
Forum: .NET
Topic: custom AxisLabels overlap
Replies: 61
Views: 98564

Fast repaint

Hi! I've found a way to check for overlapping labels with WebChartProdukt_GetBottomAxisDrawLabel. Now, I'd like to call a function to repaint the whole webchart in case I find overlapping labels. I am using version 2. Right now I am doing Bitmap bmp = WebChartProdukt.Chart.Bitmap(); before checking ...
by Werner
Mon Feb 20, 2006 12:17 pm
Forum: .NET
Topic: reload on impersonate=true
Replies: 3
Views: 5518

Fixed

Hi Narcis! When I tried to generate a sample to reproduce the error, I found out that I had some problem in my code that for some reason only occured when I had impersonate turned on. And I still have no clue why... So no error on your side. Sorry to think that it could be your error, but I wanted t...