Skip to content

rephrase.CurveChart (+rephrase)

Create a CurveChart object for rephrase reports

Syntax

output = rephrase.CurveChart(title, ticks, varargin)

Input arguments

title [ string ]

Title text for the chart.

ticks [ numeric ]

Range of the data to be displayed which should match the format of the data.

Output arguments

output [ CurveChart ]

CurveChart type object with the assigned arguements to be passed into the rephrase objects.

Options

DateFormat='YYYY-MM-DD' [ string ]

Date format to be displayed.

Ticks [ ]

Description

TickLabels [ ]

Description

HoverFormat= [ string ]

Description

ShowLegend=true [ true* | false ]

Flag which enables the graph legend by default and can be set to false.

Highlight= [ cell ]

Option which passes the Highlight object and displays it on the graph.

Possible children

+rephrase/Curve +rephrase/Marker

Description

The function +rephrase/CurveChart returns the CurveChart object based on the input arguments and options set by the user. The object itself needs to be passed to the parent rephrase object such as +rephrase/Grid.

The object requires the child to be defined either via a standalone object or a class function fromCurve. See the example below.

Examples