Hi.
Yes, sure this is possible. If you're using ColorBand tool then you can read it's StartValue and EndValue properties. If you're using two color line tools, then you can read individual tool Value property.
Search found 745 matches
- Wed Dec 06, 2006 10:46 am
- Forum: VCL
- Topic: Our own custom series class and 3D style problems
- Replies: 7
- Views: 12543
Hi. I've tried your exact code with the TeeChart v7.08 and it worked just fine i.e. unchecking/checking the "3D" checkbox switched between 2d and 3d pie. Which TeeChart version are you using ? Do you try to add series at design time or at runtime ? If first, then perhaps you should remove/rebuild yo...
- Tue Dec 05, 2006 7:03 am
- Forum: VCL
- Topic: Problem with diappearing labels
- Replies: 2
- Views: 6852
Hi. You might try the following things: 1) Decrease the separation between labels. This can be done by setting bottom axis LabelsSeparation property to small value (for example 2): tChart1.Axes.Bottom.LabelsSeparation := 2; 2) Another thing you might try is rotate axis labels 90deg anti-clockwise to...
- Tue Dec 05, 2006 6:53 am
- Forum: VCL
- Topic: Trilinear Plots
- Replies: 11
- Views: 18338
- Mon Dec 04, 2006 7:10 am
- Forum: VCL
- Topic: Our own custom series class and 3D style problems
- Replies: 7
- Views: 12543
- Mon Dec 04, 2006 7:07 am
- Forum: VCL
- Topic: Printing TeeChart
- Replies: 1
- Views: 4758
Hi. If you want to show the tChart print preview form, then you can do this by: I) a) dropping a TChartPreviewer component on the form b) connecting the TChartPreviewer component with chart you want to preview. This is done by setting TChartPreviewer.Chart property: chartPreviewer1.Chart := Chart1; ...
- Mon Dec 04, 2006 6:58 am
- Forum: VCL
- Topic: Trilinear Plots
- Replies: 11
- Views: 18338
- Fri Dec 01, 2006 7:21 am
- Forum: VCL
- Topic: OnMouseOver event?
- Replies: 1
- Views: 5127
- Thu Nov 30, 2006 7:12 am
- Forum: VCL
- Topic: Setting the minimum Y value
- Replies: 1
- Views: 4825
Hi.
No, not by using SetMinMax method. But you can use the following code:
No, not by using SetMinMax method. But you can use the following code:
Code: Select all
With Chart1.Axes.Left do
begin
AutomaticMaximum := True;
AutomaticMinimum := False;
Minimum := 0.0;
end;
- Thu Nov 30, 2006 7:04 am
- Forum: VCL
- Topic: Scrolling-Questions...
- Replies: 3
- Views: 7536
Hi, Thomas. I meant scroll between my first and my last value. For this you have to know the range you want to display. The "visible" part of values is defined by axis minimim and axis maximum. Scrolling is performed as follows: 1) You set axis minimum and maximum (see also answer to your question b...
- Thu Nov 30, 2006 6:53 am
- Forum: VCL
- Topic: Setting individual pointers
- Replies: 1
- Views: 5090
Hi. You could use point series OnGetPointerStyle event to change individual point pointer style. Something like this: function TForm1.Series1GetPointerStyle(Sender: TChartSeries; ValueIndex: Integer): TSeriesPointerStyle; begin if Sender.MandatoryValueList[ValueIndex]>22 then result := psDiagCross e...
- Wed Nov 29, 2006 7:34 am
- Forum: VCL
- Topic: Vanishing Legend
- Replies: 3
- Views: 6884
Hi.
If you're using multiple series then the solution to your problem might be setting chart Legend.LegendStyle property to lsSeries:
If you're using multiple series then the solution to your problem might be setting chart Legend.LegendStyle property to lsSeries:
Code: Select all
Chart1.Legend.LegendStyle := lsSeries;
- Tue Nov 28, 2006 7:04 am
- Forum: VCL
- Topic: How do I Reinitialize TLineSeries
- Replies: 2
- Views: 5823
Hi.
If you simply want to remove/free all series in the Form::OnClose event, then all you must do is cal the
To remove&free specific series you can use:
If you simply want to remove/free all series in the Form::OnClose event, then all you must do is cal the
Code: Select all
tChart.FreeAllSeries(nil);
Code: Select all
tmp := tChart.Series[0];
tmp.ParentChart := nil;
tmp.Free;
- Mon Nov 27, 2006 7:52 am
- Forum: VCL
- Topic: db aware TimeSeries Line Chart
- Replies: 5
- Views: 9378
Hi. SeriesExists function has to be coded (doesn't exists). The idea is to cycle through all chart series and if there is a match (series title is equal to "Well" column name, return series, otherwise return nil.). It's not too complicated at all: function SeriesExists(aChart: TCustomChart; ColName:...
- Mon Nov 27, 2006 7:42 am
- Forum: VCL
- Topic: Dynamic line...
- Replies: 9
- Views: 14111
Hi.
How did you create and connect linetool to chart ? The following code works just fine:
How did you create and connect linetool to chart ? The following code works just fine:
Code: Select all
var line: TColorLineTool;
begin
line := TColorLineTool.Create(Chart1);
Chart1.Tools.Add(line);
line.Value := 0;
line.Axis := Chart1.Axes.Bottom;