d3.js - Positioning the text straight in horizontal stacked bar in d3
问题描述
Output that I received I have a problem with positioning the text in horizontal stacked bar, this is the data set that I receive from back-end
data set = [
{ label: "FIFO", "Normal": 55, "Ab Normal": 40 },
{ label: "Urine MAY", "Normal": 5, "Ab Normal": 30 },
{ label: "LL", "Normal": 20, "Ab Normal": 30 },
{ label: "AC", "Normal": 10, "Ab Normal": 40 },
{ label: "Specialty", "Normal": 55, "Ab Normal": 15 },
];
I want the text inside the bar to be straight(-90) , but it is inverted
解决方案
推荐阅读
- python - 如何在 Python 中按标签查找 XML 元素
- asp.net-core - 如何对 Xunit Test c#.net core 中的 void 方法进行断言?
- duplicates - 在 Discord.py 的嵌入中使用 2 个标题
- django - 是否存在于多个表 django 上?
- css - 使用分号自动修复 CSS/SCSS 文件
- php - PHP curl获取请求以检索JSON数组但没有响应
- sql-server - 即使安装了模块,也获取未定义的 DSC 资源“SqlSetup”
- apache - 如果 index.html 不存在于没有斜杠的目录中,则提供 index.php
- algorithm - 如何从数组的随机洗牌中获取原始数组
- java - 使用 JPA 为多个报告查询具有不同复杂 where 子句的视图的最佳方法