Skip to content

rephrase.Highlight (+rephrase)

Create a Highlight object for rephrase reports

Syntax

output = rephrase.Highlight(startDate, endDate, varargin)

Input arguments

StartDate [ numeric ]

Start date of the data to be displayed.

EndDate [ numeric ]

End date of the data to be displayed.

Output arguments

output [ Highlight ]

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

Options

Shape= [ Struct ]

Description

Line= [ Struct ]

Description

Class= [ string ]

Description

Pass= [ cell ]

Description

Color= [ string ]

The option sets the color by using the RGB hex code of the displayed Series.

FillColor= [ string ]

The option sets the fill color by using the RGB hex code of the displayed Series.

ShowTitle=true [ true* | false ]

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

Description

The function +rephrase/Highlight returns the Highlight 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/SeriesChart.

The passed object then highlights the specified area.

Examples

    hl = rephrase.Highlight(StartDate, EndDate, "fillColor", [0, 100, 200, 0.1]);