Search found 6 matches

by Infront
Wed Nov 14, 2012 8:37 pm
Forum: VCL
Topic: TchartEditorPanel win64
Replies: 1
Views: 2702

TchartEditorPanel win64

Hi. I have tried to send e-mail, but I do not get any confirmation mail and nobody has answered. The issue is: I use the TchartEditorPanel to allow the users to customize the charts. See the structure below: Pic1.png I’m currently converting my application to Win64. But the VCLTee.TeeDesignOptions u...
by Infront
Fri Nov 12, 2010 12:23 pm
Forum: VCL
Topic: BackGround Colour on Circular Gauge
Replies: 1
Views: 2272

BackGround Colour on Circular Gauge

Hi, I am trying to change bakcground colour on CircularGauge. Design time it works fine, but run time it changes back to default setting. If i change it design time to for instance all white with no shadow, and saves my project. And close Borland, and reopen it. The shadow property are set to visibl...
by Infront
Tue Feb 16, 2010 7:22 am
Forum: VCL
Topic: Get next color, colorpalette
Replies: 3
Views: 3569

Re: Get next color, colorpalette

Thanks. But how can I change the color palette used by the TChart. I have tried this const Colors:Array[0..19] of TColor= ( clRed, clGreen, clYellow); SetDefaultColorPalette(Colors); And this SetLength(TeeProcs.ColorPalette,2); TeeProcs.ColorPalette[0] := clRed; TeeProcs.ColorPalette[1] := clBlue; T...
by Infront
Thu Feb 11, 2010 8:38 pm
Forum: VCL
Topic: Get next color, colorpalette
Replies: 3
Views: 3569

Get next color, colorpalette

Hi. Chart uses an colorpalette to assign colors to series when they are added. At runtime I clone the series x number of times. The problem with this is that every clone has the same color in the chart, and I can't tell them apart. How can I use the charts coloring methods to get the next color? E.g...
by Infront
Wed Feb 10, 2010 8:31 pm
Forum: VCL
Topic: Clone Series, OnAddSeries
Replies: 3
Views: 3952

Re: Clone Series, OnAddSeries

Yes the code works fine when you add series. The problem is when you are using the charteditor. And press the "Clone" button. First the clone series will be added and the identifier will be set correct. But after this event has finished running the clone gets its properties assigned from the source ...
by Infront
Tue Feb 09, 2010 10:29 am
Forum: VCL
Topic: Clone Series, OnAddSeries
Replies: 3
Views: 3952

Clone Series, OnAddSeries

Hi I'm presenting the TChartEditform to the user at runtime so he can add/remove series. In the "OnAddSeries" event on the TChart I create an link between the added series and an object in a objectlist. procedure TForm1.Chart1AddSeries(Sender: TCustomChartSeries); var o: TMyObject; begin o:= TMyObje...