24 lines
356 B
TypeScript
24 lines
356 B
TypeScript
|
|
/**
|
||
|
|
* 核心常量定义
|
||
|
|
*/
|
||
|
|
|
||
|
|
/** 通道颜色 */
|
||
|
|
export const channelColors = [
|
||
|
|
'#0960bd',
|
||
|
|
'#ff7f0e',
|
||
|
|
'#389e0d',
|
||
|
|
'#cf1322',
|
||
|
|
'#531dab',
|
||
|
|
'#08979c',
|
||
|
|
'#c41d7f',
|
||
|
|
'#434343',
|
||
|
|
'#7cb305',
|
||
|
|
'#1d39c4',
|
||
|
|
]
|
||
|
|
|
||
|
|
/** 图表边距 */
|
||
|
|
export const margin = { top: 18, right: 24, bottom: 52, left: 64 }
|
||
|
|
|
||
|
|
/** 最小高度 */
|
||
|
|
export const minimumHeight = 180
|