@zhouchangju/standard-chart
Version:
标准范式组件
146 lines (145 loc) • 4.13 kB
TypeScript
declare const _default: {
shouchao: {
fontFamilyNumber: string;
gridStyle: {
left: number;
right: number;
top: number;
};
yAxis: {
axisLabel: {
width: any;
};
};
color: {
axisLabel: string;
legendLabel: string;
tooltipTimeText: string;
tooltipLabel: string;
tooltipValue: string;
priceUp: string;
priceDown: string;
};
tooltip: {
backgroundColor: string;
radius: number;
padding: number[];
margin: number;
};
lineStyle: {
splitLineColor: string;
splitLineWidth: number;
zeroAxesColor: string;
zeroAxesWidth: number;
axisPointerLineColor: string;
axisPointerLineWidth: number;
};
fontSizeList: {
axisName: number;
axisLabel: number;
legendLabel: number;
tooltipLabel: number;
axisPointerLabel: number;
seriesLabel: number;
titleLabel: number;
tooltipTimeText: number;
tooltipValue: number;
};
fontWeightList: {
bold: string;
normal: string;
bolder: string;
lighter: string;
axisLabel: number;
axisName: number;
barLabel: number;
tooltipTimeText: number;
tooltipLabel: number;
tooltipValue: number;
};
fontFamilyList: {
thsFontFamilyMedium: string;
thsFontFamily: string;
pingFangSC: string;
barLabel: string;
axisLabel: string;
axisPointerLabel: string;
axisName: string;
seriesLabel: string;
tooltipTimeText: string;
tooltipValue: string;
};
lineHeightList: {
tooltipLabel: number;
};
/** 柱状图规范 */
bar: {
seriesColor: string[];
/** 不同系列柱子间距和柱宽比例为 2:1 */
barGap: string;
/** 单柱情况下,相邻两组间距和柱宽比例为 2:1 */
barCategoryGap: string;
/** 柱子圆角 */
radius: any[];
/**
* 最大柱宽
*
* ! 用 barMaxWidth 而不用 barWidth 是因为数据密集时需要自适应缩放
*/
barMaxWidth: number;
/** 最小柱高 */
barMinHeight: {
/** 单柱 */
single: number;
/** 堆叠 */
stack: number;
};
/** 动画 */
animation: {
/** 匹配条件 */
condition: {
/** 图最小高度 */
minH: number;
/** 图最大高度 */
maxH: number;
};
/** 动画时长 ms */
time: number;
/** 缓动效果 */
easing: string;
}[];
};
/** 折线图规范 */
line: {
seriesColor: string[];
};
/** 雷达图规范 */
dvRadar: {
seriesColor: string[];
radarSysShape: string;
radarSysLine: {
lineStyle: {
color: string;
};
};
radarSysArea: {
areaStyle: {
color: string[];
};
};
radarSysName: {
textStyle: {
color: string;
fontSize: number;
};
};
radarSysRadius: number;
radarLineStyle: {
width: number;
}[];
symbolSize: number;
};
};
haiwai: {};
};
export default _default;