有一个工作的实现,适合多个d3图表,如线,条,等在一个页面上? [英] Is there a working implemenation to fit multiple d3 charts like line, bar, etc on one page?

查看:246
本文介绍了有一个工作的实现,适合多个d3图表,如线,条,等在一个页面上?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在单一jsp网页上套​​用多个图表。
我有一个线条和条形图的组合。我使用dimple API d3.js。
请咨询。 Bootstrap似乎不适用于此。

I am trying to fit multiple charts on a single jsp page. I have a combination of line and bar charts. I am using dimple API for d3.js. Please advice. Bootstrap doesnt seem to work with this.

推荐答案

很多。这是一个好的(不是我的工作):

Plenty. Here's a good one (not my work):

http://www.logeeka.com/bi/dimple_charts.html

这使用了多个SVG元素,我猜是你想要的,肯定的方式去与bootstrap。如果你想在一个SVG中有多个图表,下面是一个例子:

This uses multiple SVG elements which I would guess is what you want, certainly the way to go with bootstrap. If you want multiple charts in a single SVG then here is an example of that:

http://dimplejs.org/advanced_examples_viewer.html?id=advanced_trellis_bar

这篇关于有一个工作的实现,适合多个d3图表,如线,条,等在一个页面上?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆