Search
MockOptions Members
Constructors Properties Methods
 


Represents a set of mock-data generation options for a dashboard widget.

The following tables list the members exposed by the MockOptions type.

 Public Constructors

  Name Description

MockOptions

Initializes a new instance of the MockOptions class.

 Public Properties

  Name Description

change

Gets or sets the change value used in generated mock data.

dataType

Gets or sets the type of mock data to generate.

footer

Gets or sets the footer text used in generated mock data.

header

Gets or sets the header text used in generated mock data.

location

Gets or sets the location value used in generated mock data.

max

Gets or sets the maximum numeric value used for mock data generation.

min

Gets or sets the minimum numeric value used for mock data generation.

pointsCount

Gets or sets the number of points to generate in mock data series.

rowsCount

Gets or sets the number of rows to generate in mock data sets.

schema

Gets or sets the schema definition used for generated mock data.

status

Gets or sets the status value used in generated mock data.

target

Gets or sets the target value used in generated mock data.

text

Gets or sets the text content used in generated mock data.

trend

Gets or sets the trend indicator used in generated mock data.

url

Gets or sets the URL value used in generated mock data.

value

Gets or sets the current value used in generated mock data.

 Public Methods

  Name Description

create

Creates a new MockOptions instance from a plain object or another MockOptions.

getMetadata

Gets metadata describing the editable mock option fields.

toJson

Serializes the configured mock options to a plain object.

 See Also