WAPlots Class: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(37 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Template:APIClass|WAPlots Class|WAPlots}}
{{Template:API}}{{Template:APIBreadcrumb}}


This class is used {{Template:WAPlots Class.Cmt}}


To see other classes and enumerations relating to Weibull and ALTA plots go to [[Global WAPlots]].
Represents a plot based on a [[CModel Class|cModel]], [[WeibullDataSet Class|WeibullDataSet]], or [[ALTADataSet Class|ALTADataSet]] object.


For settings to [[WAPlots Class|WAPlots ]] see [[WAPlotSettings Class|WAPlotSettings]].
== Constructors==
{| {{APITable}}
|-
| style="width: 180px;"|WAPlots||Creates an instance of the WAPlots class.
|}


== Constructors==
*'''[[New WAPlots]]''' {{APIComment|Create an Weibull or ALTA plot Class.}}


== Methods  ==
== Methods  ==
*'''[[WAPlots.Clear|Clear]]''' {{APIComment|Removes all data sets from plotting collection.}}
{| {{APITable}}
*'''[[WAPlots.AddDataset|AddDataset]]''' {{APIComment|Adds Weibull or ALTA data set for subsequent plotting.}}
|-
*'''[[WAPlots.CreatePlot|CreatePlot]]''' {{APIComment|Creates a bitmap containing the plot image.}}
| style="width: 180px;"|[[WAPlots.AddDataset|AddDataset]]||{{:WAPlots.AddDataset}}
*'''[[WAPlots.CreatePlotVB6|CreatePlotVB6]]''' {{APIComment|For VB6/VBA users only - use it instead of CreatePlot. Returns the picture containing the image of the plot.}}
|-
|[[WAPlots.AddModel|AddModel]]||{{:WAPlots.AddModel}}
|-
|[[WAPlots.Clear|Clear]]||{{:WAPlots.Clear}}
|-
|[[WAPlots.CreatePlot|CreatePlot]]||{{:WAPlots.CreatePlot}}
|-
|[[WAPlots.CreatePlotVB6|CreatePlotVB6]]||{{:WAPlots.CreatePlotVB6}}
|}
 


== Properties ==
== Properties ==
*'''[[WAPlots.ErrorHappened|ErrorHappened]]''' {{APIComment|Whether an error happened during the last plotting.}}
{| {{APITable}}
*'''[[WAPlots.ErrorMessage|ErrorMessage]]''' {{APIComment|The error that happened during the last plotting. Only set if ErrorHappened returns true.}}
|-
| style="width: 180px;"|ErrorHappened||Indicates whether an error occurred during the creation of the plot. '''Boolean'''. Read-only.
|-
|ErrorMessage||Gets the description of the error that occurred during the creation of the plot. Applies only if <code>ErrorHappened</code> is true. '''String'''.
|}

Latest revision as of 15:25, 6 July 2016

APIWiki.png


Member of: SynthesisAPI


Represents a plot based on a cModel, WeibullDataSet, or ALTADataSet object.

Constructors

Name Description
WAPlots Creates an instance of the WAPlots class.


Methods

Name Description
AddDataset Adds a WeibullDataSet or ALTADataSet object to the plot.
AddModel Adds a cModel object to the plot.
Clear Removes the object that was added to the plot, which is required before a new object can be added.
CreatePlot Returns a bitmap object that represents the plot. (.NET only)
CreatePlotVB6 Returns a bitmap object that represents the plot. (VBA/VB6 only.)


Properties

Name Description
ErrorHappened Indicates whether an error occurred during the creation of the plot. Boolean. Read-only.
ErrorMessage Gets the description of the error that occurred during the creation of the plot. Applies only if ErrorHappened is true. String.