IDMAxis Interface

Version: 1.0
Dispatch interface for DMAxis Object

GUID: {673A9FDF-9A0B-11D4-B2A4-FD6847C75367}

IDMAxis interface implemented only for backward compatibility with DM2000. Use IDMAxis3 interface instead.

Members:
Kind Name ID Description
Min 1 Change TAxis.Min
Max 2 Change TAxis.Max
Margins 3 Change TAxis.Margins
AutoScale 4 Change TAxis.AutoScale
Title 5 Change TAxis.Title
Expression 6 Change TAxis.Expression

Syntax:
property Min: Double

Applies to:
DMAxis, DMFloatEdit, DMSerie, DMSpinEdit

For DMAxis, Min define minimal value of the axis range. Note: if you want to fix axis range you have to clear AutoScale flag. Also keep in mind that in DM2003 Min may be greater than Max.

For DMSerie, this property allows you to change minimal limit of the parameter ("cx") for parameterized (or functional) series.

For DMSpinEdit and DMFloatEdit ActiveX controls, it defines minimal possible value of the Value property.

Syntax:
property Max: Double

Applies to:
DMAxis, DMFloatEdit, DMSerie, DMSpinEdit

For DMAxis, Max defines maximal value of the axis range. Note: if you want to fix axis range you have to clear AutoScale flag. Also keep in mind that in DM2003 Min may be greater than Max.

For DMSerie, this property allows you to change maximal limit of the parameter ("cx") for parameterized (or functional) series.

For DMSpinEdit and DMFloatEdit ActiveX controls, it defines maximal possible value of the Value property.

Syntax:
property Margins: Double

Applies to:
DMAxis

Margins defines the distance between axis ranges given by Min, Max values and calculated by series data. Value of 0.1 corresponds to approximately 10% blank space. This property should be used in conjunction with AutoScale.

Syntax:
property AutoScale: Boolean

Applies to:
DMAxis

If this flag set to true, every time when plot will be repainted new axis range will be automatically calculated. All nonempty series take part in autoscaling.

Syntax:
property Title: BSTR

Applies to:
DMAxis

Axis may have a title. If this property is not empty, axis title will be visible. Note that not all fonts are displayed properly in the vertical direction!

Syntax:
property Expression: BSTR

Applies to:
DMAxis, DMFitter, DMWorksheet, LMFitter

For DM2003 plot axis, you may transform all series simultaneously if you assign valid expression to this property. See details about expression syntax and allowed arguments and function names.

For DMFitter ActiveX control, Expression property should be defined before you start fitting. There are several possible situations:


For worksheets, this property is index-based and determine column expressions. These expressions may be used to recalculate dynamically the contents of appropriate column. Notice that you can assign expressions to any column, even those that has no data! The syntax and parameter set for column expressions are the same as for plot series.

Example:

Server.CreateDocument Server.InstallPath & "samples\data_1.dat"
Server.ExecuteCommand "ShowWorksheetAction"
Server.ActiveDocument.Worksheet.Expression(3)="a+b"