Search found 8 matches

by johnk
Tue Nov 08, 2005 1:39 am
Forum: .NET
Topic: custom AxisLabels overlap
Replies: 61
Views: 98516

This may be a little late but here is the code I used on my custom labels to control overlap. I've only implemented the horizontal so far but the vertical would be similar. private void axis_GetAxisDrawLabel(object sender, GetAxisDrawLabelEventArgs e) { //flags indicating overlap with the previous a...
by johnk
Wed Oct 26, 2005 4:13 pm
Forum: .NET
Topic: custom AxisLabels overlap
Replies: 61
Views: 98516

Thanks for the help but I ended up using GetAxisDrawLabel. In the eventargs for this event I have the label text and its location. I look up the label in my AxisLabelItems collection so I can find the previous and next labels. I get the rectangle for next and previous and see if they overlap. Then a...
by johnk
Fri Oct 21, 2005 3:06 pm
Forum: .NET
Topic: custom AxisLabels overlap
Replies: 61
Views: 98516

Turning them 90 degrees will not work for my situation. I'd like a way to detect if a label will overlap another label. Then I can apply my own algorithm to the labels. I was looking at GetAxisDrawLabel but there is no way for me to tell what the previous label and the next label are and if they wil...
by johnk
Thu Oct 20, 2005 3:28 pm
Forum: .NET
Topic: custom AxisLabels overlap
Replies: 61
Views: 98516

To see this problem you can start the Steema demo and look at Welcome !\Axes\Labels\Custom labels. There are custom labels on the left axis. When you resize the application so that the Chart becomes smaller you can see that the bottom axis will drop labels when they get too close. The left axis howe...
by johnk
Tue Oct 18, 2005 6:00 pm
Forum: .NET
Topic: custom AxisLabels overlap
Replies: 61
Views: 98516

custom AxisLabels overlap

I have a chart with custom log labels on the left and bottom axis. My problem is that when the chart is resized the labels can overlap each other. I looked at the demo All Features -> Welcome ! -> Axes -> Labels -> Custom Labels and Custom logarithmic labels and they overlap as well. I've tried usin...
by johnk
Wed May 04, 2005 11:42 pm
Forum: .NET
Topic: Annotation autosize
Replies: 1
Views: 4407

Annotation autosize

When I create annotations they automatically size to the text that they contain even if I set the Shape size property.

Is there a way to turn off the auto size?

Thanks.
by johnk
Fri Apr 08, 2005 5:09 pm
Forum: .NET
Topic: Custom label items are not saved with .ten file.
Replies: 1
Views: 4272

Custom label items are not saved with .ten file.

When I save my chart that has custom label items the labels are not saved with the chart.
by johnk
Wed Apr 06, 2005 9:32 pm
Forum: .NET
Topic: Problem loading data with XmlSource
Replies: 4
Views: 7061

Problem loading data with XmlSource

I'm trying to load multiple bar series with XmlSource. I think the xml is correct but the bars for each of the series are exactly the same with stack marks on them. After loading the data I exported it so you could see the problem. Also where can I find documentation on the correct format for xml da...