Search found 5 matches

by Steve Sidwell
Tue Mar 16, 2004 7:11 pm
Forum: VCL
Topic: Axis title still clashes with axis labels in V7
Replies: 5
Views: 12887

Thanks,
how can I find out exactly what labels Teechart is going to draw?

Steve
by Steve Sidwell
Mon Mar 15, 2004 6:07 pm
Forum: VCL
Topic: Axis title still clashes with axis labels in V7
Replies: 5
Views: 12887

If all the vertical axis labels are not the same text width e.g. "77","77.1"."77.2"... "78" then Teechart uses the width of the last label at the top of the axis, in this case "78", to calulate the horizontal space it should leave for the axis title. If the label next to the axis title is wider than...
by Steve Sidwell
Sat Mar 13, 2004 3:55 pm
Forum: VCL
Topic: Axis title still clashes with axis labels in V7
Replies: 5
Views: 12887

Axis title still clashes with axis labels in V7

The bug where the axis labels clash (overwrite each other) that was reported in V6 is still in Version 7. When a lineseries graph is scrolled Teechart uses the with of the topmost label to calculate where to draw the axis label instead of the widest label. Is this ever going to be fixed? Thanks Stev...
by Steve Sidwell
Fri Feb 27, 2004 2:29 am
Forum: VCL
Topic: Printresolution
Replies: 5
Views: 11935

Printresolution

After a lot of trial and error this seems to work: pixperinch := getdevicecaps(printer.handle, LOGPIXELSY); factor := pixperinch / screen.PixelsPerInch; w1 := (prect.Bottom - prect.Top); w2 := round(aChart.height * factor); aChart.PrintResolution := -(w1 - w2) * 100 div w2; aChart.PrintPartialCanvas...
by Steve Sidwell
Thu Feb 26, 2004 10:17 pm
Forum: VCL
Topic: Printresolution
Replies: 5
Views: 11935

Printresolution

What formula does TeeChart use to calculate font sizes for printing from Printresolution? I just want the font sizes on the printout to always be 10 point regardless of screen size, printer resolution, physical output size etc. I can't come up with a way of setting PrintResolution that will give me ...