Server rendering options
Options for static Line and Stock chart output.
import type { SSRLineChartOptions } from "@sixtyfold/ssr";Use the public entry point shown above.
SSRBaseChartOptions
Renderer-facing chart options accepted by the static render helpers.
Import @sixtyfold/ssr·interface
interface SSRBaseChartOptionsSSRLineChartOptions
Line-chart options supported by the SSR renderer.
Import @sixtyfold/ssr·interface
interface SSRLineChartOptions extends SSRBaseChartOptionsSSRRenderOptions
Static output dimensions, device-pixel ratio, and optional server canvas factory.
Import @sixtyfold/ssr·interface
interface SSRRenderOptions| Member | Definition | Description |
|---|---|---|
create | ((width: number, height: number) => SSRCanvas) | undefined | Creates canvas. |
dpr? | number | undefined | Dpr used for static output. |
height | number | Height used for static output. |
width | number | Width used for static output. |
SSRStockChartOptions
Stock-chart options supported by the SSR renderer.
Import @sixtyfold/ssr·interface
interface SSRStockChartOptions extends SSRBaseChartOptions| Member | Definition | Description |
|---|---|---|
animated? | boolean | undefined= false | Initial reveal setting. Leave disabled for complete static output because an SSR render does not advance animation frames. |
axis? | object | undefined | Axis used for static output. |
candle | object | undefined | Candle colors used for static output. |
candle | number | undefined | Candle stroke width used for static output. |
candle | "filled" | "hollow" | "ohlc" | undefined | Candle style used for static output. |
chart | string | object | undefined | Chart background used for static output. |
crosshair | string | undefined | Crosshair marker color used for static output. |
crosshair | object | undefined | Crosshair style used for static output. |
grid? | object | undefined | Grid used for static output. |
indicators? | readonly StockIndicator[] | undefined | Indicators used for static output. |
labels? | object | undefined | Labels used for static output. |
markers? | readonly StockMarker[] | undefined | Markers used for static output. |
min | number | undefined | Smallest X viewport span, in the same units as the X data. |
overlay? | object | undefined | Overlay used for static output. |
padding? | { top?: number; right?: number; bottom?: number; left?: number; } | undefined | Padding used for static output. |
preview | string | undefined | Preview line color used for static output. |
price | readonly StockPriceLine[] | undefined | Price lines used for static output. |
price | object | undefined | Price unit used for static output. |
range | object | undefined | Range selector used for static output. |
show | boolean | undefined | Show volume used for static output. |
text | "auto" | "ltr" | "rtl" | "inherit" | undefined | Text direction used for static output. |
tooltip? | object | undefined | Tooltip used for static output. |
volume | object | undefined | Volume colors used for static output. |
volume | number | undefined | Volume height ratio used for static output. |
volume | number | undefined | Volume opacity used for static output. |
volume | false | VolumeProfileOptions | undefined | Volume profile used for static output. |
volume | object | undefined | Volume unit used for static output. |
y | { min?: number; max?: number; } | undefined | Fixed rendered Y-domain edges; omitted edges remain auto-scaled. |