Mohammad Gohari
Mohammad Gohari

Reputation: 251

How Can I Change DBChart Series Marks Font RunTime?

How Can I Change DBChart.Series.Marks.Font RunTime? I want to assign it a component font like a label font directly:

DBChart1.Series[0].Marks.Font := Label1.Font;

It is a TTeeFont Class Font. how can i cast my standard fonts?

Upvotes: 1

Views: 617

Answers (1)

TLama
TLama

Reputation: 76713

You can assign the font for instance by using Assign method:

DBChart1.Series[0].Marks.Font.Assign(Label1.Font);

Upvotes: 3

Related Questions