Reference Source Test
public class | source

MultipleXYLineChart

Extends:

Chart → MultipleXYLineChart

Represents a Multiple XY line Chart.

Test:

Constructor Summary

Public Constructor
public

Creates an instance of the MultipleXYLineChart class

Method Summary

Public Methods
public

do(grammar: string): boolean

Alter the parameters of the chart using the provided grammar.

Inherited Summary

From class Chart
private

_data: *

private

_outputJson: {"size": *, "data": *, "point": *, "axis": *, "grid": *, "legend": *, "tooltip": *, "subchart": *, "zoom": *, "bar": *, "donut": *}

public

do(grammar: string): boolean

Alter the parameters of the charts using the provided grammar.

public

Return the JSON output string of the constructed charts.

Public Constructors

public constructor(data: string) source

Creates an instance of the MultipleXYLineChart class

Override:

Chart#constructor

Params:

NameTypeAttributeDescription
data string

JSON string containing the data columns.

Test:

Public Methods

public do(grammar: string): boolean source

Alter the parameters of the chart using the provided grammar.

Override:

Chart#do

Params:

NameTypeAttributeDescription
grammar string

Simple grammar string describing the chart.

Return:

boolean

Returns true if the grammar is parsed.

Test: