Skip to main content
Version: 4.1

Interface: ICustomSeriesPaneRenderer

Renderer for the custom series. This paints on the main chart pane.

Methods

draw

draw(target, priceConverter, isHovered, hitTestData?): void

Draw function for the renderer.

Parameters

NameTypeDescription
targetCanvasRenderingTarget2Dcanvas context to draw on, refer to FancyCanvas library for more details about this class.
priceConverterPriceToCoordinateConverterconverter function for changing prices into vertical coordinate values.
isHoveredbooleanWhether the series is hovered.
hitTestData?unknownOptional hit test data for the series.

Returns

void