简体   繁体   中英

Is there a D3 Gauge allowing multiple series/columns?

I'm looking for something like this in D3 or C3js:

多指标

The default Gauge Chart in C3 takes in multiple columns as data, but then displays them on the same line, so they are overriding eachother.

Maybe you can make more then one gauge's ? If you choice the inner and outer radious ok, you can make 4 gauge's with only 2 values, so you have only 2 sections per donut pie / gauge. Not the easiest option but a nice workaround.

If you're using Angular 4 you can use ngx-charts , which provides an easily configurable multi-series gauge. This is their demo page or just checkout their github repo . The package is written using D3 so you can likely customize it more if needed by forking the repo.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM