RenderParams

interface RenderParams

This defines the parameters for a call to a Chart’s rendering method.

Properties

annotations

annotations: undefined | Annotation []

The Annotation objects to be rendered.

autoLayout

autoLayout: undefined | boolean

This determines whether or not the Chart will use an automatic layout function.

end

end: undefined | number

The end coordinate of the region that will be rendered.

initializeXScale

initializeXScale: undefined | boolean

Whether or not to initialize the Chart’s xScale with the range of the query.

layoutFn

layoutFn: undefined | (ann: Annotation []): number

If this is provided, the Chart will use it to define a layout for the provided annotations.

rowCount

rowCount: undefined | number

The number of rows that will be rendered.

start

start: undefined | number

The start coordinate of the region that will be rendered.