Class

SpotfireLineChart

SpotfireLineChart(lineChartProperties)

Constructor

new SpotfireLineChart(lineChartProperties)

Parameters:
Name Type Description
lineChartProperties Object
[ appearance ] Object
lineWidth Number

Specifies the width of the lines in the line chart.

showMarkers Boolean

Determines whether or not markers should be displayed for the axis values.

markerSize Number

Specifies the size of the markers, in pixels. Allowed values are 1-100.

drawAsStepLines Boolean

Determines whether or not to draw the lines in incremental steps rather than as straight lines directly between each value.

breakLinesOnEmptyValues Boolean

Determines whether lines should be broken or remain connected when an empty value is found in the data used to create the line.

compensateForMissingValues Boolean

If you are using a Date, Time or DateTime column somewhere in the visualization, it determines whether or not to perform some calculation where a required time period is missing. For example, if you have created a visualization showing cumulative sums and there are missing data for some categories, setting this parameter to true will produce a value of the same size as the previous value instead of interpolating between the values.

[ labels ] Object
showLineIdentifier Boolean

Specifies whether or not to display labels showing the categories used to create each line (by coloring or line by).

showIndividualValues Boolean

Specifies whether or not to display labels showing the values for all points used to create the line.

showLabelsFor SpotfireLabelVisibilities

Determines whether to show labels with on all lines ('All'), lines containing marked rows only ('Marked rows'), or not to show any labels at all ('None').

maxNumberOfLabels Number

Specifies the maximum number of labels to be shown.