Search found 10 matches

by Obelix
Mon Sep 05, 2005 8:52 am
Forum: VCL
Topic: Gantt: count maximum items visible inside
Replies: 3
Views: 6089

Hi Narcis, hmm I want to deal with the left axis of a chart containing a gantt series. Therefor you have to setup the leftaxis.minimum (default=1) and the leftaxis.maximum (depends on the height of the chart.clientheight, the amount of gantt items and the height of the labels/gantt bars). For instan...
by Obelix
Thu Sep 01, 2005 2:19 pm
Forum: VCL
Topic: Gantt: count maximum items visible inside
Replies: 3
Views: 6089

Gantt: count maximum items visible inside

Hello, is there a possibility to calculate the maximum number of vertically visible items in a gantt chart, to manually setup the min.max values for scrolling purpose? In automatic mode (LeftAxis.Automatic=True) the blocks of the ganttchart are overlapping but the labels don't, ie. Label1 ---------[...
by Obelix
Fri Nov 05, 2004 8:59 am
Forum: .NET
Topic: Labels are not clipped (D5, TeePro 7)
Replies: 2
Views: 5757

Hi Pep,

please can you remove this topic from this forum? Thanks
by Obelix
Fri Nov 05, 2004 8:57 am
Forum: VCL
Topic: Labels are not clipped (D5, TeePro 7)
Replies: 3
Views: 6358

Your code is working, but please change the code to:
Chart1.Axes.Left.LabelsSize := 20;

The starting/ending positions for labels (LabelsAlign = alOpposite or LabelsAlign = alDefault) are not the same. LabelsAlign = alOpposite let the labels begin more pixels to the right.

Tia Obelix
by Obelix
Thu Nov 04, 2004 3:57 pm
Forum: VCL
Topic: Labels are not clipped (D5, TeePro 7)
Replies: 3
Views: 6358

Labels are not clipped (D5, TeePro 7)

When you change the labelsize to values <> 0 and the LeftAxis.LabelsAlign to alOpposite, the labels paint their contents inside the series. Any idea to automatically (or manually) clip the text?

Tia Obelix
by Obelix
Thu Nov 04, 2004 3:26 pm
Forum: .NET
Topic: Labels are not clipped (D5, TeePro 7)
Replies: 2
Views: 5757

Labels are not clipped (D5, TeePro 7)

When you change the labelsize to values <> 0 and the LeftAxis.LabelsAlign to alOpposite, the labels paint their contents inside the series. Any idea to automatically (or manually) clip the text?

Tia Obelix
by Obelix
Wed Nov 03, 2004 12:20 pm
Forum: VCL
Topic: Help needed in Scrolling LeftAxis via TScrollbar
Replies: 0
Views: 5034

Help needed in Scrolling LeftAxis via TScrollbar

Hello, please is anybody able to give me a detailed example, to setup and run a standard delphi TScrollbar component, therefor I am able to scroll my gantt chart vertically? I don't understand how to setup the values for min/max/pos in relation to the min/max/position of the left axis. And how can I...
by Obelix
Fri Oct 29, 2004 9:59 am
Forum: VCL
Topic: TeeChart and Mousewheel scrolling
Replies: 1
Views: 4308

TeeChart and Mousewheel scrolling

Please, how can I change the scrolling direction of the mouse wheel in Teechart?
Enabled mousewheel via TeeUseMouseWheel := Mouse.WheelPresent and setting the focus to the chart, but the scrolling direction is the opposite of all other window applications and delphi components
:roll:

Thanks.
by Obelix
Thu Oct 28, 2004 7:01 am
Forum: VCL
Topic: TeeChart Labels and Grids
Replies: 4
Views: 8314

That' it! Thanks a lot, works very well and saved me a lot of time :D
by Obelix
Wed Oct 27, 2004 12:48 pm
Forum: VCL
Topic: TeeChart Labels and Grids
Replies: 4
Views: 8314

Changing labels at runtime

Thanks, it's working very good, but is it also possible to change the color/font and text for some of the labels? Assume you have a gantt series within your chart and you want to display the labels of some of your gantt items in a special color/font style (ie. saturday and sunday in red, style to bo...