Splunk

Custom Chart Viz using echarts f

2020-10-12  本文已影响0人  bingyun

Custom Chart Viz

Custom Chart Viz 是基于Apache ECharts library封装的, 可以使用他进行自定义配置设置,给图表可视化带来了更多的可能性。

Usage

示例数据在custom_chart_viz/lookups 文件夹下面,可以用于测试。

Custom

| inputlookup spc.csv
    | table no,UCL,LCL,Center,Data,"Out of Limits","Run of 7"
{  
        xAxis: {
            type: 'category',
            boundaryGap: false
        }, 
        yAxis: {
            type: 'value',
            scale: true,
            axisLine: { show: false }
        },
        series: [{ 
                type: 'line'
            },
            { 
                type: 'bar'
            },
            { 
                type: 'scatter'
            },
            { 
                type: 'bar' 
            },
            { 
                type: 'scatter' 
            },
            {
                type: 'scatter' 
            }
        ]
    }  

XBar R - X of SPC(Statistical Process Control)

目前额外封装了一个XBar R - X控制图,可以按格式传数据即可。

github: https://github.com/bingyun123/custom_chart_viz
splunkbase: https://splunkbase.splunk.com/app/5261/

上一篇 下一篇

猜你喜欢

热点阅读