【问题标题】:How to create a canonical 3d plot in Highcharts?如何在 Highcharts 中创建规范的 3d 图?
【发布时间】:2020-08-06 14:05:32
【问题描述】:

我将如何继续并在 Highcharts 中创建类似于 JMP Canonical 3D Plot 的东西,以显示具有一定透明度的各种尺寸的三维球体,同时仍然能够绘制奇异值(如图像中的小点以下)?我想3D Scatter Plot 会是一个可行的方法,但我认为不可能在单个球体上设置不同的尺寸。

来自https://www.jmp.com/support/help/en/15.1/index.shtml#page/jmp/example-of-a-canonical-3d-plot.shtml 的规范 3D 图示例

【问题讨论】:

    标签: highcharts scatter3d


    【解决方案1】:

    您可以通过marker.radius 更改单个散点的大小。示例:

        data: [
            { x: 1, y: 6, z: 5, marker: { radius: 10 } },
            { x: 8, y: 7, z: 9, marker: { radius: 50 } },
            ...
        ]
    

    现场演示: https://jsfiddle.net/BlackLabel/0fnx5ued/

    API 参考: https://api.highcharts.com/highcharts/series.scatter3d.data.marker.radius

    【讨论】:

    • 我正在尝试在 Vue.js 中实现类似的功能。我正在为 Highcharts 使用 Vue 包装器,并设法显示 3D 散点图,但我不明白如何实现旋转功能。你有 Vue 包装器的例子吗?
    • 嗨@Julle,是的,我们有,这里是:codesandbox.io/s/highcharts-vue-demo-forked-wyxxt
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-07-05
    • 2015-03-21
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多