title: { show: true, // 是否显示标题,默认为true text: "1主标题", // 主标题文本 subtext: "副标题", // 副标题文本 x: "center", // 标题水平安放位置,可选值为'left'、'center'、'right'或具体的水平坐标值 y: "bottom", // 标题垂直安放位置,可选值为'top'、'bottom'、'center'或具体的垂直坐标值 backgroundColor: "red", // 标题背景颜色 borderWidth: 5, // 标题边框线宽 borderColor: "#ccffee", // 标题边框颜色 padding: 5, // 标题内边距 itemGap: 10, // 主副标题纵向间隔 textStyle: { // 主标题文本样式 fontFamily: "Arial, Verdana, sans...", fontSize: 12, fontStyle: "normal", fontWeight: "normal", color: "#333", }, subtextStyle: { // 副标题文本样式 fontFamily: "Arial, Verdana, sans...", fontSize: 12 color: "#aaa", // 副标题文字的颜色 fontStyle: "normal", // 副标题文字字体的风格,可选值为'normal'、'italic'、'oblique' fontWeight: "bold", // 副标题文字字体的粗细,可选值为'normal'、'bold'、'bolder'、'lighter'或具体的数值 fontSize: 18, // 字体大小 lineHeight: "130", // 行高 textBorderColor: "red", // 文字本身的描边颜色 textBorderWidth: 5, // 文字本身的描边宽度 textShadowColor: "transparent", // 文字本身的阴影颜色 textShadowBlur: 0, // 文字本身的阴影长度 textShadowOffsetX: 0, // 文字本身的阴影 X 偏移 textShadowOffsetY: 0, // 文字本身的阴影 Y 偏移 }, },
echars
最新推荐文章于 2024-09-02 22:29:33 发布