Hi Phineas,
Have you seen the example at All features/Welcome !/Tools/Draw Line/Draw Line Tool? You should find all features demos at teechart's program group.
Search found 9527 matches
- Thu May 14, 2009 8:17 am
- Forum: VCL
- Topic: Creating DrawLines in code at run time
- Replies: 1
- Views: 4420
- Wed May 13, 2009 3:21 pm
- Forum: .NET
- Topic: Artifacts in stacked bar with series values zero
- Replies: 7
- Views: 10081
Hi qcrnd, Yes, you are right. Note that this only happens in 2D charts. I've added it to the wish list to be fixed in future releases (TF02014154). A workarround is to look for the 0 values and set them as null: for (int i = 0; i < tChart1.Series.Count; i++) { for (int j = 0; j < tChart1.Series[i].C...
- Wed May 13, 2009 2:30 pm
- Forum: .NET
- Topic: two line chart issues
- Replies: 7
- Views: 8999
Hi qcrnd, 1. Here I'm not sure to understand you. Would you like a legend symbol like the one is shown for line series in 3D, a square with a wide border? Note that this is applied to 3D line series because they show 2 parts, the line itself and the border (that could be more o less wide) 2. Yes, if...
- Wed May 13, 2009 12:16 pm
- Forum: VCL
- Topic: Clone Series from a TmpChart ?
- Replies: 26
- Views: 36774
Hi Dominik, It seems that deleting the temp chart deletes the cloned series. Probably there is a problem with shared pointers references. Here there is an example that shows it: uses series, teestore, teeeditpro; var Stream: TMemoryStream; tmpEmpty: TChart; procedure TForm1.FormCreate(Sender: TObjec...
- Wed May 13, 2009 11:33 am
- Forum: VCL
- Topic: ValueColor
- Replies: 4
- Views: 7482
Hi It seems that having pie series with OtherSlice.Style := poBelowPercent and you clone the series, the colors seem to be copied in different indexes. Easy to reproduce with this: uses series; var Series1: TPieSeries; procedure TForm1.FormCreate(Sender: TObject); begin Series1 := TPieSeries.Create(...
- Wed May 13, 2009 10:23 am
- Forum: VCL
- Topic: Clone Series from a TmpChart ?
- Replies: 26
- Views: 36774
Hi Dominik, I'm trying to test your code but I'm not sure to understand how do you initialize Serien string before testing its value in the while condition. Please, could you send us a simple example project we can run "as-is" to reproduce the problem here? You can either post your files at news://w...
- Wed May 13, 2009 8:29 am
- Forum: VCL
- Topic: Annotation position on resize
- Replies: 6
- Views: 5358
Hi Bob, Probably using percentages the annotation seems to move a little bit due to internal roundings. Yes, I recommend you to use OnAfterDraw event to recalculate the tool position. Something like: uses teetools; procedure TForm1.FormCreate(Sender: TObject); begin Chart1.Tools.Add(TAnnotationTool....
- Wed May 13, 2009 7:52 am
- Forum: VCL
- Topic: ValueColor
- Replies: 4
- Views: 7482
Hi Alain, I've tested it and I see the preview with the good colors (dark blue, orange, red, soft blue, marine blue, dark green,...) of the opera palette. I used this code and a teecommander to see the export preview. procedure TForm1.FormCreate(Sender: TObject); begin Chart1.AddSeries(TPieSeries.Cr...
- Tue May 12, 2009 3:05 pm
- Forum: VCL
- Topic: TChartListBox and Drag & Drop
- Replies: 1
- Views: 4017
Hi Dominik, I think that you should use an array to maintain a list of the selected series, maintain it at OnChartListBoxMouseDown event. Then you'll have the series you need in Drag&Drop or where you wish. Here is an approximation: uses series; var selectedSeries: array of TChartSeries; procedure T...
- Tue May 12, 2009 2:11 pm
- Forum: .NET
- Topic: ClickSeries event
- Replies: 2
- Views: 4564
Hi SPS, I'm not able to reproduce the problem here with the following code. Could you please modify it in order to reproduce it? Or could you please send us a simple example project we can run as-is to reproduce the issue here. You can either post your files at news://www.steema.net/steema.public.at...
- Tue May 12, 2009 1:35 pm
- Forum: VCL
- Topic: Annotation position on resize
- Replies: 6
- Views: 5358
Hi Bob, Click the example's edit button, select the 1st annotation (default) and go to the position tab. Next, set the position for annotation 1 to: Custom=True, Scaling=Percent, Top=5, Left=45 -> you may need to use slightly different values to center the annotation1 over the title. Finally, resize...
- Tue May 12, 2009 11:24 am
- Forum: VCL
- Topic: Annotation position on resize
- Replies: 6
- Views: 5358
Hi Bob, I'm not sure to understand what you exactly want. If you want the annotation not to move at all, simply set its position with absolute values: uses series, TeeTools; var FDragging: boolean; DifX, DifY: Integer; procedure TForm1.FormCreate(Sender: TObject); begin Chart1.AllowZoom := False; Ch...
- Tue May 12, 2009 7:30 am
- Forum: VCL
- Topic: Function TChartAxis.AxisRect:TRect;
- Replies: 6
- Views: 8142
- Mon May 11, 2009 2:06 pm
- Forum: ActiveX
- Topic: Point Figure samples pls
- Replies: 1
- Views: 3511
- Mon May 11, 2009 2:05 pm
- Forum: ActiveX
- Topic: Point Figure samples pls
- Replies: 1
- Views: 3484