【问题标题】:How to add label above the scatter plot?如何在散点图上方添加标签?
【发布时间】:2013-05-23 04:41:21
【问题描述】:

我正在使用the rickshaw library 开发图表。是否有任何选项可以在散点图外部创建标签,标签位于气泡上方,like in this example done with d3.jsHere is my attempt at it on jsFiddle.

        .axis path,
        .axis line {
            fill: none;
            stroke: black;
            shape-rendering: crispEdges;
        }

        .axis text {
            font-family: sans-serif;
            font-size: 11px;
        }

【问题讨论】:

    标签: css d3.js rickshaw


    【解决方案1】:

    是的。您应该查看 rickshaw.js 文件并尝试将文本附加到散点图上方。了解 d3.js 的基本概念就很容易了。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2019-09-23
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多