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

Method setEventDetectType

apps/chart/src/component/boxSeries.ts:238–246  ·  view source on GitHub ↗
(series: Series, options?: BarChartOptions | ColumnChartOptions)

Source from the content-addressed store, hash-verified

236 }
237
238 protected setEventDetectType(series: Series, options?: BarChartOptions | ColumnChartOptions) {
239 if (series.line) {
240 this.eventDetectType = 'grouped';
241 }
242
243 if (options?.series?.eventDetectType) {
244 this.eventDetectType = options.series.eventDetectType;
245 }
246 }
247
248 protected getOptions(
249 chartOptions: BarChartOptions | ColumnChartOptions | ColumnLineChartOptions

Callers 2

renderMethod · 0.95
renderMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected