diff --git a/pagesB/Healthindex/Healthindex.vue b/pagesB/Healthindex/Healthindex.vue index 653bb2d..3bbf42c 100644 --- a/pagesB/Healthindex/Healthindex.vue +++ b/pagesB/Healthindex/Healthindex.vue @@ -1,5 +1,6 @@ @@ -74,9 +75,11 @@ cardNo: '', healthdata: {}, line_opts: { - color: ["#1890FF", "#91CB74", "#FAC858", "#EE6666", "#73C0DE", "#3CA272", "#FC8452", "#9A60B4", + color: ["#FAC858", "#EE6666", "#73C0DE", "#3CA272", "#FC8452", "#9A60B4", "#ea7ccc" ], + // fontColor: '#fff', + // background: 'rgba(0, 22, 58, 1)', dataLabel: true, enableScroll: true, touchMoveLimit: 24, @@ -85,16 +88,22 @@ lineHeight: 40, disableGrid: true, boundaryGap: "center", - fontSize: 10, + fontSize: 12, type: 'grid', gridType: 'dash', + color: '#fff', itemCount: 3, //x轴单屏显示数据的数量,默认为5个 scrollShow: true, //新增是否显示滚动条,默认false scrollAlign: 'left', //滚动条初始位置 + // fontColor: '#fff', + // background: 'rgba(0, 22, 58, 1)', }, yAxis: { gridType: "dash", - dashLength: 2 + dashLength: 2, + fontColor: '#fff', + fontSize: 14, + // background: 'rgba(0, 22, 58, 1)', }, extra: { line: { @@ -213,10 +222,22 @@