MCPcopy
hub / github.com/nhn/tui.chart / getDataLabelsOptions

Function getDataLabelsOptions

apps/chart/src/helpers/dataLabels.ts:594–596  ·  view source on GitHub ↗
(options: OptionsWithDataLabels, name: string)

Source from the content-addressed store, hash-verified

592}
593
594export function getDataLabelsOptions(options: OptionsWithDataLabels, name: string) {
595 return options?.series?.[name]?.dataLabels || options?.series?.dataLabels || {};
596}
597
598export function makeLineLabelInfo(model: LineDataLabel, dataLabelOptions: DataLabelOption) {
599 const { value, textAlign, textBaseline } = model;

Callers 11

renderMethod · 0.90
renderMethod · 0.90
appendDataLabelsMethod · 0.90
renderMethod · 0.90
renderMethod · 0.90
renderMethod · 0.90
renderMethod · 0.90
renderMethod · 0.90
renderMethod · 0.90
renderMethod · 0.90
renderMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected