Search found 745 matches

by Marjan
Fri Jul 06, 2007 5:40 pm
Forum: VCL
Topic: Boxplot with datetime x-axis
Replies: 5
Views: 9229

Hi.

Thanks for reporting this one. The TCustomBoxPlot series does not yet implement Clicked method. We'll try to improve this in future.
by Marjan
Tue Jun 26, 2007 6:49 am
Forum: .NET
Topic: FastLine v3 TreatNulls Property vs IgnoreNulls old Property
Replies: 7
Views: 14468

Hi, Aaron. Settinng the TreatNulls property to Steema.TeeChart.Styles.TreatNullsStyle.DoNotPaint does what exactly what IgnoreNulls = false; did in old version. When TreatNulls is set to DoNotPaint, then the null points (points with color = Color.Transparent) will be skipped and the chart will have ...
by Marjan
Thu Jun 07, 2007 1:14 pm
Forum: .NET
Topic: Boxplot series. The values must be sorted ?!?
Replies: 1
Views: 4868

Hi, Lars.

The internal calculations (median, percentiles) assume ordered values i.e. you must order the values before you add them to box series.
by Marjan
Fri May 25, 2007 6:45 am
Forum: .NET
Topic: Transparency problem with Graphics3D
Replies: 5
Views: 11720

Re: Transparency problem with Graphics3D

in my class extended from TChart ,I wrote this code Although i set transparency property , it always top of the other TChart Series .. Thx . Changing transparency doesn't mean drawing object will be drawn over or under the previously drawn objects. If you placed the drawing code in chart AfterDraw ...
by Marjan
Thu May 24, 2007 9:58 am
Forum: .NET
Topic: line series width
Replies: 3
Views: 29824

In this case all you must do is type cast Series class to Line class (if it can be done). Something like this:

Code: Select all

if (tChart1.Series[index] is Steema.TeeChart.Styles.Line)
  (tChart1.Series[index] as Steema.TeeChart.Styles.Line).LinePen.Width = 2;
by Marjan
Tue May 15, 2007 6:43 am
Forum: .NET
Topic: Shading under a plot curve and pan/zoom of charts
Replies: 19
Views: 27879

Hi. perform shading of the area under a plot/trend curve? This feature is implemented in the latest v3 pre-release version as SeriesRegionTool. This fully configurable tool colors a region under curve (defined by series values). demonstrate panning and zooming of charts? There are several examples a...
by Marjan
Thu May 10, 2007 5:45 am
Forum: VCL
Topic: Histogram - placement of bars from tick mark - not centered
Replies: 1
Views: 5837

Hi.

I think in this case the easiest solution is to use area series with it's Stairs property set to true:

Code: Select all

area1.Stairs := True;
area1.AddXY(1,10);
area1.AddXY(2,3);
area1.AddXY(3,5);
area1.AddXY(4,7);
area1.AddXY(5,7); // add fake point to show last bin
by Marjan
Sun May 06, 2007 7:35 am
Forum: VCL
Topic: Can you change individual series Pointer.Style values
Replies: 5
Views: 10757

Hi, CAC. ValueIndex = point index in series point ValueList array. In your case I assume the number of points is equal to number of points in ClinetDataSet. In this case ValueIndex would be equal to record position in ClientDataSet. If this is not true you can still create an array of bookmarks and ...
by Marjan
Sun May 06, 2007 7:23 am
Forum: VCL
Topic: Runtime Export has fewer options than Design Time
Replies: 2
Views: 6241

Hi.

To have a pdf image format listed in the export dialog at runtime, you have to add TeePDFCanvas unit to the Uses section:

Code: Select all

Uses ..., TeePDFCanvas;
This will automatically add "PDF" to export format list. The same rule applies to other export formats (VLM = TeeVMLCanvas, PNG = TeePNG, ...)
by Marjan
Wed Apr 18, 2007 6:55 am
Forum: .NET
Topic: Unzoom after import
Replies: 1
Views: 4602

Hi, Jay.

One solution is to set all axis Automatic property to true after importing chart. For example

Code: Select all

foreach (Axis axis in yourChart.Axes)
  axis.Automatic = true;
by Marjan
Mon Apr 02, 2007 4:02 pm
Forum: VCL
Topic: Runtime changes to Chart Title
Replies: 7
Views: 14263

Hi.

Are you by any chance using the "Build with the runtime packages" option ? If yes, then perhaps the problem is your project is referencing old (TeeChart Standard) packages. In this case all you must do is replace references to old TeeChart bpi/lib files wih version you use.
by Marjan
Wed Mar 21, 2007 1:44 pm
Forum: .NET
Topic: Problem with loading template files
Replies: 9
Views: 15430

Hi. This is because the reference to this.marksTip1 is set to null after you load the chart. After load you cannot reference marksTip1 anymore .. that is, unless you reassign the variable as: marksTip1 = tChart1.Tools[0] as MarksTip; or alternatively, in your code reference tChart1.Tools[index] and ...
by Marjan
Fri Mar 09, 2007 5:49 pm
Forum: .NET
Topic: BoxWhisker/BoxPlot issue
Replies: 9
Views: 18279

Hi.

I think the two stars (*) represent two outliers (0.0156 and 0.03489) and not the minimum nd maximum value. Minimum value is still 0.0 and because it's not an outlier, it's not drawn. Only the (mild and extreme) outliers are drawn.
by Marjan
Mon Feb 26, 2007 7:43 am
Forum: .NET
Topic: Coloring point symbols on a line series.
Replies: 38
Views: 69454

Hi. Sorry for the confusion, I mixed the VCL and .NET version. In .NET, you could use the Colors array to control individual point color. For example: int index = e.ValueIndex; // plot all positive values green, negative and zero red if (series.YValues[index] > 0) series.Colors[index] = Color.Green;...
by Marjan
Sat Feb 24, 2007 9:26 am
Forum: .NET
Topic: Coloring point symbols on a line series.
Replies: 38
Views: 69454

Hi. In the GetPointerStyle event you could use the following code to change ValueIndex point color: // C# version int pointindex = e.ValueIndex; if (index>1) { if (series.YValues[index]-series.YValues[index-1]>0) { series.ValueColor[index] = Color.Greed; } else { series.ValueColor[index] = Color.Red...