MCPcopy
hub / github.com/apache/echarts / getBorderColor

Function getBorderColor

src/chart/candlestick/candlestickVisual.ts:38–45  ·  view source on GitHub ↗
(sign: number, model: Model<Pick<CandlestickDataItemOption, 'itemStyle'>>)

Source from the content-addressed store, hash-verified

36}
37
38export function getBorderColor(sign: number, model: Model<Pick<CandlestickDataItemOption, 'itemStyle'>>) {
39 return model.get(
40 sign === 0 ? dojiBorderColorQuery
41 : sign > 0
42 ? positiveBorderColorQuery
43 : negativeBorderColorQuery
44 );
45}
46
47const candlestickVisual: StageHandler = {
48

Callers 3

setBoxCommonFunction · 0.90
setLargeStyleFunction · 0.90
progressFunction · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…