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?

有帮助吗?

解决方案

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

DBChart1.Series[0].Marks.Font.Assign(Label1.Font);
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top