angular - 谷歌图表水平线显示在栏的前面,当我悬停图例时显示小线。请帮我
问题描述
谷歌图表水平线显示在栏的前面,当我悬停图例时显示小线。请帮我。请参阅下面的代码和附加的屏幕截图。
protected getChartOptions() { return { annotations: { style: 'line', stem: { color: 'transparent', length: 0 }, textStyle: { fontSize: 11, color:'#838383', auraColor: 'transparent' }, }, tooltip: { textStyle: { fontSize: 12, bold: true, } }, height: 280, fontName : "Lato", colors: ["#F40C48", "#16B587", "#EAB417", "#F47A0C", "#838383"], legend: { position: "top", maxLines: 3, textStyle: { color: "#0b5b90", fontSize: 10 } }, bar: { groupWidth: "20%" }, hAxis: { textPosition: 'none', }, vAxis: { textStyle: { fontSize:8, bold: true, }, gridlines: { count: 3, color: "#E8E8E8" }, }, series: { 0: { targetAxisIndex: 0 }, 1: { targetAxisIndex: 1 } }, vAxes: { 0: { textPosition: 'none',baselineColor: '#E8E8E8'}, 1: { baselineColor: '#929292'} }, isStacked: "percent", chartArea: { width: "80%"} } }
解决方案
推荐阅读
- reactjs - 材质ui下一个文本字段下划线颜色
- entity-framework - Z.EntityFramework.Plus MemberInitExpression 错误
- java - Long Literals in Java
- docker - Docker 中的 Solr,如何在挂载的卷目录中创建共享的分布式集合
- android - 查询 firebase 数据库并检索特定数据
- c# - 为什么服务器可能不会收到附加到使用 HttpClient 的请求的证书?
- javascript - 如何更改有关 if else 语句的角度 fxLayout(行到列)
- unit-testing - 如何为多部分/表单数据上传 cdc 测试创建 PACT
- python - 根据集合上的元素重复数据框
- arrays - 在 awk 中对块内的行进行排序