Hi jenb,
Some time ago I've made an example for a customer that asked for something similar, if I understand well. Here it is the topic. Note that this was made for VB6 and TeeChart ActiveX. If you find problems translating it, feel free to ask here and we'll try to help you.
Search found 9527 matches
- Fri Mar 20, 2009 10:15 am
- Forum: .NET
- Topic: Aspect Ratio of Chart
- Replies: 7
- Views: 11788
- Fri Mar 20, 2009 10:07 am
- Forum: .NET
- Topic: Axes Synchronization problem
- Replies: 3
- Views: 5589
- Fri Mar 20, 2009 9:17 am
- Forum: VCL
- Topic: Teecommander undo explode
- Replies: 3
- Views: 4728
Hi Calou,
Wouldn't be better simply disallowing the user to delete any series?
Wouldn't be better simply disallowing the user to delete any series?
Code: Select all
TeeCommander1.ChartEditor := TChartEditor.Create(nil);
TeeCommander1.ChartEditor.Chart := Chart1;
TeeCommander1.ChartEditor.Options := TeeCommander1.ChartEditor.Options-[ceDelete];
- Fri Mar 20, 2009 8:56 am
- Forum: VCL
- Topic: Go to Date
- Replies: 2
- Views: 4145
Hi alexiat, Yes, you should set your bottom axis min and max manually. Here is a simple example: procedure TForm1.FormCreate(Sender: TObject); var day: TDateTime; i: Integer; begin Chart1.View3D := false; Chart1.AddSeries(TLineSeries.Create(nil)); Chart1[0].XValues.DateTime := true; (Chart1[0] as TL...
- Fri Mar 20, 2009 8:13 am
- Forum: ActiveX
- Topic: Break in the line for FastLine chart
- Replies: 3
- Views: 5110
Hi KingDesigns, In v7 the property TreatNulls doesn't exist, but you can set IgnoreNulls as false and they shouldn't be displayed. As a simple example, this works fine for me with TeeChart ActiveX v7.0.1.4. Private Sub Form_Load() TChart1.Aspect.View3D = False TChart1.AddSeries scFastLine TChart1.Se...
- Thu Mar 19, 2009 12:08 pm
- Forum: .NET
- Topic: Axes Synchronization problem
- Replies: 3
- Views: 5589
Hi Amol, I'm not sure to understand what are you exactly trying to do here. Do you have one series assigned to both vertical axis? Or two series, one assigned to the left axis and one to the right axis? Maybe a picture would be better for us to see what is the result you expect. You can either post ...
- Thu Mar 19, 2009 10:07 am
- Forum: VCL
- Topic: Double Click bug
- Replies: 2
- Views: 4215
Hi strobbekoen, I think that you should use a custom zoom. Something as follows: var Form1: TForm1; DrawRect: Boolean; XStart, XEnd, YStart, YEnd: Integer; implementation {$R *.dfm} procedure TForm1.FormCreate(Sender: TObject); begin XStart := -1; XEnd := -1; YStart := -1; YEnd := -1; DrawRect := fa...
- Thu Mar 19, 2009 9:20 am
- Forum: VCL
- Topic: Bug in THistogramSeries
- Replies: 15
- Views: 13881
Hi mbruch,
Note that from v4 to v8 TeeChart has included many modifications that may cause that the same code sometimes could result in different results.mbruch wrote:in Version 4 all worked fine!
I'm happy to see that you could solve your issue.mbruch wrote:ok if I use your supplied code it works!
- Thu Mar 19, 2009 8:59 am
- Forum: ActiveX
- Topic: CAnnotationTool Custom Position
- Replies: 4
- Views: 7563
Hi nbp, To place your annotation in one of the predefined positions of your chart, you could use one of the following sentences: TChart1.Tools.Items(0).asAnnotation.Position = ppCenter TChart1.Tools.Items(0).asAnnotation.Position = ppLeftBottom TChart1.Tools.Items(0).asAnnotation.Position = ppLeftTo...
- Thu Mar 19, 2009 8:50 am
- Forum: ActiveX
- Topic: Bug in TChart v7.0?
- Replies: 2
- Views: 5253
- Thu Mar 19, 2009 8:28 am
- Forum: ActiveX
- Topic: Break in the line for FastLine chart
- Replies: 3
- Views: 5110
Hi KingDesigns,
I think that you are looking for this:
Otherwise, please, take a look at the demo at What's new ?/New in Series/Fast Line TreatNulls
I think that you are looking for this:
Code: Select all
TChart1.Series(0).asFastLine.IgnoreNulls = False
TChart1.Series(0).asFastLine.TreatNulls = tnDontPaint
- Wed Mar 18, 2009 3:57 pm
- Forum: .NET
- Topic: Axis Nearest Value
- Replies: 1
- Views: 4213
Hi Sanyog, Here there is an example of how I think you could do this: public Form1() { InitializeComponent(); InitializeChart(); } Steema.TeeChart.Styles.Surface surf1; Steema.TeeChart.Tools.Annotation annotation1; private void InitializeChart() { tChart1.Aspect.Chart3DPercent = 50; chartController1...
- Wed Mar 18, 2009 3:37 pm
- Forum: VCL
- Topic: Bug in THistogramSeries
- Replies: 15
- Views: 13881
Hi mbruch, Excuse us, we haven't noticed that you sent a project. Now, I've seen it and your problem seems different than the discussed in this thread. The problem here is that you have two series populated with different interval X values and the same X axis assigned. Then, when axis labels try to ...
- Wed Mar 18, 2009 1:01 pm
- Forum: ActiveX
- Topic: Council (and help) for a graph
- Replies: 2
- Views: 5650
Hi Onyx, Here is an example in vb6 that tries to draw a chart as in your picture: Private Sub Form_Load() With TChart1 .Aspect.View3D = False .AddSeries scGantt .Series(0).XValues.DateTime = True .Series(0).YValues.DateTime = True .Axis.Left.Labels.Style = talValue With .Series(0).asGantt .AddGanttC...
- Wed Mar 18, 2009 11:18 am
- Forum: .NET
- Topic: Aspect Ratio of Chart
- Replies: 7
- Views: 11788