配置文件

根据不同的业务需求可以配置成相应的可视形态。

完整的配置文件如下:

{
    "creator": "linxiaolong",
    "defaultStyle": [
        {
            "chartOptions": {
                "seriesOptions": {}
            },
            "defaultColor": [
                "#e84d60",
                "#e88f61",
                "#fecd6c",
                "#b3cf61",
                "#77c298",
                "#51a9d6",
                "#718dbf",
                "#955cbf",
                "#a4547d",
                "#c64373"
            ],
            "scopeId": [
                "all"
            ],
            "scopeType": "report"
        }
    ],
    "metadataStructures": [
        {
            "dataSetId": "01a50a94-5909-435b-9dd7-490bf989e84e",
            "dimensions": [
                {
                    "granularities": [
                        {
                            "index": -1,
                            "key": "year",
                            "selection": {
                                "selectionType": "NXSelectionLabelEqual",
                                "selectionValue": "2015"
                            },
                            "title": "年"
                        },
                        {
                            "key": "month",
                            "title": "月"
                        }
                    ],
                    "key": "Dimension_1",
                    "title": "时间"
                },
                {
                    "granularities": [
                        {
                            "key": "LVL1CHANNELNAMEC",
                            "selection": {
                                "selectionType": "NXSelectionLabelEqual",
                                "selectionValue": "团险"
                            },
                            "title": "销售渠道"
                        }
                    ],
                    "key": "Dimension_2",
                    "title": "渠道"
                },
                {
                    "granularities": [
                        {
                            "key": "PROVCOMNAME",
                            "selection": {
                                "selectionType": "NXSelectionLabelEqual",
                                "selectionValue": "浙江"
                            },
                            "title": "分公司"
                        },
                        {
                            "key": "MANAGECOMNAME",
                            "selection": {
                                "selectionType": "NXSelectionLabelEqual",
                                "selectionValue": "杭州中支"
                            },
                            "title": "支部"
                        }
                    ],
                    "key": "Dimension_3",
                    "title": "分支"
                },
                {
                    "granularities": [
                        {
                            "key": "DIMEN1NAME",
                            "selection": {
                                "selectionType": "NXSelectionLabelEqual",
                                "selectionValue": "人寿险"
                            },
                            "title": "险种"
                        }
                    ],
                    "key": "Dimension_4",
                    "title": "险种分类"
                }
            ],
            "measures": [
                {
                    "key": "yujiguimobaofei",
                    "title": "预收规模保费"
                },
                {
                    "key": "chengbaoguimobaofei",
                    "title": "承保规模保费"
                },
                {
                    "key": "chengbaobiaozhunbaofei",
                    "title": "承保标准保费"
                },
                {
                    "key": "biaobaoyusuan",
                    "title": "标保预算"
                }
            ]
        }
    ],
    "pages": [
        {
            "cards": [
                {
                    "size": "row-12 col-12 ",
                    "subCards": [
                        {
                            "cardTitle": "承保标准保费各省分公司情况",
                            "dataSetId": "01a50a94-5909-435b-9dd7-490bf989e84e",
                            "size": "row-sm-xs-6 row-xs-sm-12 row-md-3 row-md-sm-6 row-lg-md-3 col-xs-sm-12 col-sm-xs-12 col-sm-lg-12 col-md-12  col-md-lg-12 col-md-sm-6 col-lg-6 ",
                            "structure": {
                                "dimensions": [
                                    {
                                        "granularities": [
                                            {
                                                "key": "year",
                                                "title": "年"
                                            },
                                            {
                                                "key": "month",
                                                "title": "月"
                                            }
                                        ],
                                        "key": "Dimension_1",
                                        "title": "时间"
                                    },
                                    {
                                        "granularities": [
                                            {
                                                "key": "LVL1CHANNELNAMEC",
                                                "title": "销售渠道"
                                            }
                                        ],
                                        "key": "Dimension_2",
                                        "title": "渠道"
                                    },
                                    {
                                        "granularities": [
                                            {
                                                "key": "DIMEN1NAME",
                                                "title": "险种"
                                            }
                                        ],
                                        "key": "Dimension_4",
                                        "title": "险种分类"
                                    },
                                    {
                                        "granularities": [
                                            {
                                                "key": "PROVCOMNAME",
                                                "title": "分公司"
                                            },
                                            {
                                                "key": "MANAGECOMNAME",
                                                "title": "支部"
                                            }
                                        ],
                                        "key": "Dimension_3",
                                        "title": "分支"
                                    }
                                ],
                                "measures": [
                                    {
                                        "key": "chengbaobiaozhunbaofei",
                                        "title": "承保标准保费"
                                    }
                                ]
                            },
                            "style": {
                                "chart": {
                                    "chartConfig": {
                                        "series": [
                                            {
                                                "dataSource": {
                                                    "colorRange": {
                                                        "linearRange": [
                                                            {
                                                                "color": {
                                                                    "fillColor": "#0eb83b"
                                                                },
                                                                "value": 50000
                                                            },
                                                            {
                                                                "color": {
                                                                    "fillColor": "#e84d60"
                                                                },
                                                                "value": 100000
                                                            },
                                                            {
                                                                "color": {
                                                                    "fillColor": "#e88f61"
                                                                },
                                                                "value": 1000000
                                                            },
                                                            {
                                                                "color": {
                                                                    "fillColor": "#fecd6c"
                                                                },
                                                                "value": 10000000
                                                            },
                                                            {
                                                                "color": {
                                                                    "fillColor": "#b3cf61"
                                                                },
                                                                "value": 100000000
                                                            }
                                                        ],
                                                        "valueSource": "chengbaobiaozhunbaofei"
                                                    },
                                                    "yValueSource": "chengbaobiaozhunbaofei"
                                                },
                                                "focusZoomOnSelect": false,
                                                "id": "chinamap",
                                                "mapType": "China",
                                                "type": "NXMapSeries"
                                            }
                                        ],
                                        "touchTools": [
                                            {
                                                "targetSeries": [
                                                    "chinamap"
                                                ],
                                                "toolType": "NXZoomTool"
                                            },
                                            {
                                                "enableMultiTouch": false,
                                                "removeOnRelease": false,
                                                "showBelowSeries": false,
                                                "targetSeries": [
                                                    "chinamap"
                                                ],
                                                "toolType": "NXMapHighLightTool",
                                                "visible": true
                                            }
                                        ]
                                    }
                                },
                                "detailRightPanel": {
                                    "horizontal": true,
                                    "visible": true
                                },
                                "detailTopPanel": {
                                    "percentInTotalVisible": true,
                                    "visible": false
                                }
                            },
                            "type": "NXCubeCard"
                        },
                        {
                            "cardTitle": "承保标准保费分支机构情况",
                            "dataSetId": "01a50a94-5909-435b-9dd7-490bf989e84e",
                            "size": "row-sm-xs-6 row-xs-sm-12 row-md-3 row-md-sm-6 row-lg-md-3 col-xs-sm-12 col-sm-xs-12 col-sm-lg-12 col-md-12  col-md-lg-12 col-md-sm-6 col-lg-6 ",
                            "structure": {
                                "dimensions": [
                                    {
                                        "granularities": [
                                            {
                                                "key": "LVL1CHANNELNAMEC",
                                                "title": "销售渠道"
                                            }
                                        ],
                                        "key": "Dimension_2",
                                        "title": "渠道"
                                    },
                                    {
                                        "granularities": [
                                            {
                                                "key": "DIMEN1NAME",
                                                "title": "险种"
                                            }
                                        ],
                                        "key": "Dimension_4",
                                        "title": "险种分类"
                                    },
                                    {
                                        "granularities": [
                                            {
                                                "key": "PROVCOMNAME",
                                                "title": "分公司"
                                            },
                                            {
                                                "key": "MANAGECOMNAME",
                                                "title": "支部"
                                            }
                                        ],
                                        "key": "Dimension_3",
                                        "title": "分支"
                                    },
                                    {
                                        "granularities": [
                                            {
                                                "key": "year",
                                                "title": "年"
                                            },
                                            {
                                                "drillTo": true,
                                                "key": "month",
                                                "title": "月"
                                            }
                                        ],
                                        "key": "Dimension_1",
                                        "title": "时间"
                                    }
                                ],
                                "measures": [
                                    {
                                        "key": "biaobaoyusuan",
                                        "title": "标保预算"
                                    },
                                    {
                                        "key": "chengbaobiaozhunbaofei",
                                        "title": "承保标准保费"
                                    },
                                    {
                                        "formula": "chengbaobiaozhunbaofei/max(biaobaoyusuan,0)",
                                        "isCreated": true,
                                        "key": "dachenglv",
                                        "title": "达成率"
                                    }
                                ]
                            },
                            "style": {
                                "chart": {
                                    "chartConfig": {
                                        "axis": [
                                            {
                                                "axisType": "NXAxisTypeDateTime",
                                                "id": "bottom"
                                            },
                                            {
                                                "axisType": "NXAxisTypeNumberic",
                                                "coordinate": "NXCoordinateY",
                                                "id": "left",
                                                "majorPoint": {
                                                    "label": {
                                                        "labelFormatter": ",###",
                                                        "labelNumberUnit": true
                                                    }
                                                }
                                            },
                                            {
                                                "axisType": "NXAxisTypeNumberic",
                                                "coordinate": "NXCoordinateY",
                                                "id": "right",
                                                "majorPoint": {
                                                    "gridLine": {
                                                        "gridLineVisible": false
                                                    },
                                                    "label": {
                                                        "labelDirection": "NXSignPositive",
                                                        "labelFormatter": "#%",
                                                        "labelNumberUnit": false
                                                    },
                                                    "tick": {
                                                        "tickDirection": "NXSignPositive",
                                                        "tickLength": 1,
                                                        "tickLineStyle": {
                                                            "lineColor": "#ff0000",
                                                            "lineWidth": 1
                                                        },
                                                        "tickVisible": true
                                                    }
                                                },
                                                "maxValue": 3,
                                                "minValue": 0
                                            }
                                        ],
                                        "series": [
                                            {
                                                "accumulation": false,
                                                "barFill": {
                                                    "fillColor": "#51a9d6"
                                                },
                                                "dataSource": {
                                                    "xDataSourceDateFormatString": "MM",
                                                    "xDataSourceDateLocale": "zh",
                                                    "xDisplayDateFormatString": "MM",
                                                    "xDisplayDateLocale": "zh",
                                                    "yValueSource": "chengbaobiaozhunbaofei"
                                                },
                                                "id": "revenueAccumulateAsMonthBar",
                                                "orientation": "vertical",
                                                "sort": {
                                                    "sortSource": "x",
                                                    "sortType": "NXSortOperationAsc"
                                                },
                                                "stackedType": "NXChartSeriesStackedTypeSide",
                                                "type": "NXBarSeries",
                                                "xAxis": "bottom",
                                                "yAxis": "left"
                                            },
                                            {
                                                "accumulation": false,
                                                "dataSource": {
                                                    "xDataSourceDateFormatString": "MM",
                                                    "xDataSourceDateLocale": "zh",
                                                    "xDisplayDateFormatString": "MM",
                                                    "xDisplayDateLocale": "zh",
                                                    "yFormatNumberUnit": false,
                                                    "yFormatString": "#%",
                                                    "yValueSource": "dachenglv"
                                                },
                                                "id": "targetRevenueAccumulateAsMonthLine",
                                                "lineStyle": {
                                                    "lineColor": "#955cbf"
                                                },
                                                "orientation": "vertical",
                                                "sort": {
                                                    "sortSource": "x",
                                                    "sortType": "NXSortOperationAsc"
                                                },
                                                "symbol": {
                                                    "symbolFill": {
                                                        "fillColor": "#955cbf"
                                                    }
                                                },
                                                "type": "NXLineSeries",
                                                "xAxis": "bottom",
                                                "yAxis": "right"
                                            }
                                        ],
                                        "touchTools": [
                                            {
                                                "crossAxis": "bottom",
                                                "enableMultiTouch": false,
                                                "removeOnRelease": false,
                                                "showBelowSeries": false,
                                                "targetSeries": [
                                                    "revenueAccumulateAsMonthBar",
                                                    "targetRevenueAccumulateAsMonthLine"
                                                ],
                                                "toolType": "NXHighLightTool",
                                                "visible": true
                                            },
                                            {
                                                "targetSeries": [
                                                    "revenueAccumulateAsMonthBar",
                                                    "targetRevenueAccumulateAsMonthLine"
                                                ],
                                                "toolType": "NXNavigationTool",
                                                "visible": true
                                            }
                                        ]
                                    }
                                },
                                "detailTopPanel": {
                                    "type": "NXDetailNormalTargetReal",
                                    "visible": true
                                }
                            },
                            "type": "NXCubeCard"
                        },
                        {
                            "cardTitle": "标保预算各分公司情况",
                            "dataSetId": "01a50a94-5909-435b-9dd7-490bf989e84e",
                            "size": "row-sm-xs-6 row-xs-sm-12 row-md-3 row-md-sm-6 row-lg-md-3 col-xs-sm-12 col-sm-xs-12 col-sm-lg-12 col-md-12  col-md-lg-12 col-md-sm-6 col-lg-6 ",
                            "structure": {
                                "dimensions": [
                                    {
                                        "granularities": [
                                            {
                                                "key": "year",
                                                "title": "年"
                                            },
                                            {
                                                "key": "month",
                                                "title": "月"
                                            }
                                        ],
                                        "key": "Dimension_1",
                                        "title": "时间"
                                    },
                                    {
                                        "granularities": [
                                            {
                                                "key": "LVL1CHANNELNAMEC",
                                                "title": "销售渠道"
                                            }
                                        ],
                                        "key": "Dimension_2",
                                        "title": "渠道"
                                    },
                                    {
                                        "granularities": [
                                            {
                                                "key": "DIMEN1NAME",
                                                "title": "险种"
                                            }
                                        ],
                                        "key": "Dimension_4",
                                        "title": "险种分类"
                                    },
                                    {
                                        "granularities": [
                                            {
                                                "key": "PROVCOMNAME",
                                                "title": "分公司"
                                            },
                                            {
                                                "key": "MANAGECOMNAME",
                                                "title": "支部"
                                            }
                                        ],
                                        "key": "Dimension_3",
                                        "title": "分支"
                                    }
                                ],
                                "measures": [
                                    {
                                        "key": "biaobaoyusuan",
                                        "title": "标保预算"
                                    }
                                ]
                            },
                            "style": {
                                "chart": {
                                    "chartConfig": {
                                        "series": [
                                            {
                                                "dataSource": {
                                                    "colorRange": {
                                                        "linearRange": [
                                                            {
                                                                "color": {
                                                                    "fillColor": "#0eb83b"
                                                                },
                                                                "value": 50000
                                                            },
                                                            {
                                                                "color": {
                                                                    "fillColor": "#e84d60"
                                                                },
                                                                "value": 100000
                                                            },
                                                            {
                                                                "color": {
                                                                    "fillColor": "#e88f61"
                                                                },
                                                                "value": 1000000
                                                            },
                                                            {
                                                                "color": {
                                                                    "fillColor": "#fecd6c"
                                                                },
                                                                "value": 10000000
                                                            },
                                                            {
                                                                "color": {
                                                                    "fillColor": "#b3cf61"
                                                                },
                                                                "value": 100000000
                                                            }
                                                        ],
                                                        "valueSource": "biaobaoyusuan"
                                                    },
                                                    "yValueSource": "biaobaoyusuan"
                                                },
                                                "focusZoomOnSelect": false,
                                                "id": "chinamap",
                                                "mapType": "China",
                                                "type": "NXMapSeries"
                                            }
                                        ],
                                        "touchTools": [
                                            {
                                                "targetSeries": [
                                                    "chinamap"
                                                ],
                                                "toolType": "NXZoomTool"
                                            },
                                            {
                                                "enableMultiTouch": false,
                                                "removeOnRelease": false,
                                                "showBelowSeries": false,
                                                "targetSeries": [
                                                    "chinamap"
                                                ],
                                                "toolType": "NXMapHighLightTool",
                                                "visible": true
                                            }
                                        ]
                                    }
                                },
                                "detailRightPanel": {
                                    "horizontal": true,
                                    "visible": true
                                },
                                "detailTopPanel": {
                                    "percentInTotalVisible": true,
                                    "visible": false
                                }
                            },
                            "type": "NXCubeCard"
                        },
                        {
                            "cardTitle": "标保预算累积vs承保标准保费累积分支机构情况",
                            "dataSetId": "01a50a94-5909-435b-9dd7-490bf989e84e",
                            "size": "row-sm-xs-6 row-xs-sm-12 row-md-3 row-md-sm-6 row-lg-md-3 col-xs-sm-12 col-sm-xs-12 col-sm-lg-12 col-md-12  col-md-lg-12 col-md-sm-6 col-lg-6 ",
                            "structure": {
                                "dimensions": [
                                    {
                                        "granularities": [
                                            {
                                                "key": "LVL1CHANNELNAMEC",
                                                "title": "销售渠道"
                                            }
                                        ],
                                        "key": "Dimension_2",
                                        "title": "渠道"
                                    },
                                    {
                                        "granularities": [
                                            {
                                                "key": "DIMEN1NAME",
                                                "title": "险种"
                                            }
                                        ],
                                        "key": "Dimension_4",
                                        "title": "险种分类"
                                    },
                                    {
                                        "granularities": [
                                            {
                                                "key": "PROVCOMNAME",
                                                "title": "分公司"
                                            },
                                            {
                                                "key": "MANAGECOMNAME",
                                                "title": "支部"
                                            }
                                        ],
                                        "key": "Dimension_3",
                                        "title": "分支"
                                    },
                                    {
                                        "granularities": [
                                            {
                                                "key": "year",
                                                "title": "年"
                                            },
                                            {
                                                "drillTo": true,
                                                "key": "month",
                                                "title": "月"
                                            }
                                        ],
                                        "key": "Dimension_1",
                                        "title": "时间"
                                    }
                                ],
                                "measures": [
                                    {
                                        "key": "biaobaoyusuan",
                                        "title": "标保预算"
                                    },
                                    {
                                        "key": "chengbaobiaozhunbaofei",
                                        "title": "承保标准保费"
                                    }
                                ]
                            },
                            "style": {
                                "chart": {
                                    "chartConfig": {
                                        "axis": [
                                            {
                                                "axisType": "NXAxisTypeDateTime",
                                                "id": "bottom"
                                            },
                                            {
                                                "axisType": "NXAxisTypeNumberic",
                                                "coordinate": "NXCoordinateY",
                                                "id": "left",
                                                "majorPoint": {
                                                    "label": {
                                                        "labelFormatter": ",###",
                                                        "labelNumberUnit": true
                                                    }
                                                }
                                            }
                                        ],
                                        "series": [
                                            {
                                                "accumulation": true,
                                                "barFill": {
                                                    "fillColor": "#51a9d6"
                                                },
                                                "dataSource": {
                                                    "xDataSourceDateFormatString": "MM",
                                                    "xDataSourceDateLocale": "zh",
                                                    "xDisplayDateFormatString": "MM",
                                                    "xDisplayDateLocale": "zh",
                                                    "yFormatNumberUnit": true,
                                                    "yValueSource": "biaobaoyusuan"
                                                },
                                                "id": "revenueAccumulateAsMonthBar",
                                                "orientation": "vertical",
                                                "sort": {
                                                    "sortSource": "x",
                                                    "sortType": "NXSortOperationAsc"
                                                },
                                                "stackedType": "NXChartSeriesStackedTypeSide",
                                                "type": "NXBarSeries",
                                                "xAxis": "bottom",
                                                "yAxis": "left"
                                            },
                                            {
                                                "accumulation": true,
                                                "dataSource": {
                                                    "xDataSourceDateFormatString": "MM",
                                                    "xDataSourceDateLocale": "zh",
                                                    "xDisplayDateFormatString": "MM",
                                                    "xDisplayDateLocale": "zh",
                                                    "yFormatNumberUnit": true,
                                                    "yValueSource": "chengbaobiaozhunbaofei"
                                                },
                                                "id": "targetRevenueAccumulateAsMonthLine",
                                                "isTargetSeries": true,
                                                "lineStyle": {
                                                    "lineColor": "#955cbf"
                                                },
                                                "orientation": "vertical",
                                                "sort": {
                                                    "sortSource": "x",
                                                    "sortType": "NXSortOperationAsc"
                                                },
                                                "symbol": {
                                                    "symbolFill": {
                                                        "fillColor": "#955cbf"
                                                    }
                                                },
                                                "type": "NXStepLineSeries",
                                                "xAxis": "bottom",
                                                "yAxis": "left"
                                            }
                                        ],
                                        "touchTools": [
                                            {
                                                "crossAxis": "bottom",
                                                "enableMultiTouch": false,
                                                "removeOnRelease": false,
                                                "showBelowSeries": false,
                                                "targetSeries": [
                                                    "revenueAccumulateAsMonthBar",
                                                    "targetRevenueAccumulateAsMonthLine"
                                                ],
                                                "toolType": "NXHighLightTool",
                                                "visible": true
                                            }
                                        ]
                                    }
                                },
                                "detailTopPanel": {
                                    "type": "NXDetailNormalTargetReal",
                                    "visible": true
                                }
                            },
                            "type": "NXCubeCard"
                        },
                        {
                            "cardTitle": "承保规模保费各省分公司情况",
                            "dataSetId": "01a50a94-5909-435b-9dd7-490bf989e84e",
                            "linkEvent": {
                                "isEventSource": true
                            },
                            "size": "row-sm-xs-6 row-xs-sm-12 row-md-3 row-md-sm-6 row-lg-md-3 col-xs-sm-12 col-sm-xs-12 col-sm-lg-12 col-md-12  col-md-lg-12 col-md-sm-6 col-lg-6 ",
                            "structure": {
                                "dimensions": [
                                    {
                                        "granularities": [
                                            {
                                                "key": "year",
                                                "title": "年"
                                            },
                                            {
                                                "key": "month",
                                                "title": "月"
                                            }
                                        ],
                                        "key": "Dimension_1",
                                        "title": "时间"
                                    },
                                    {
                                        "granularities": [
                                            {
                                                "key": "LVL1CHANNELNAMEC",
                                                "title": "销售渠道"
                                            }
                                        ],
                                        "key": "Dimension_2",
                                        "title": "渠道"
                                    },
                                    {
                                        "granularities": [
                                            {
                                                "key": "DIMEN1NAME",
                                                "title": "险种"
                                            }
                                        ],
                                        "key": "Dimension_4",
                                        "title": "险种分类"
                                    },
                                    {
                                        "granularities": [
                                            {
                                                "key": "PROVCOMNAME",
                                                "title": "分公司"
                                            },
                                            {
                                                "key": "MANAGECOMNAME",
                                                "title": "支部"
                                            }
                                        ],
                                        "key": "Dimension_3",
                                        "title": "分支"
                                    }
                                ],
                                "measures": [
                                    {
                                        "key": "chengbaoguimobaofei",
                                        "title": "承保规模保费"
                                    }
                                ]
                            },
                            "style": {
                                "chart": {
                                    "chartConfig": {
                                        "series": [
                                            {
                                                "dataSource": {
                                                    "colorRange": {
                                                        "linearRange": [
                                                            {
                                                                "color": {
                                                                    "fillColor": "#0eb83b"
                                                                },
                                                                "value": 50000
                                                            },
                                                            {
                                                                "color": {
                                                                    "fillColor": "#e84d60"
                                                                },
                                                                "value": 100000
                                                            },
                                                            {
                                                                "color": {
                                                                    "fillColor": "#e88f61"
                                                                },
                                                                "value": 1000000
                                                            },
                                                            {
                                                                "color": {
                                                                    "fillColor": "#fecd6c"
                                                                },
                                                                "value": 10000000
                                                            },
                                                            {
                                                                "color": {
                                                                    "fillColor": "#b3cf61"
                                                                },
                                                                "value": 100000000
                                                            }
                                                        ],
                                                        "valueSource": "chengbaoguimobaofei"
                                                    },
                                                    "yValueSource": "chengbaoguimobaofei"
                                                },
                                                "focusZoomOnSelect": false,
                                                "id": "chinamap",
                                                "mapType": "China",
                                                "type": "NXMapSeries"
                                            }
                                        ],
                                        "touchTools": [
                                            {
                                                "targetSeries": [
                                                    "chinamap"
                                                ],
                                                "toolType": "NXZoomTool"
                                            },
                                            {
                                                "enableMultiTouch": false,
                                                "removeOnRelease": false,
                                                "showBelowSeries": false,
                                                "targetSeries": [
                                                    "chinamap"
                                                ],
                                                "toolType": "NXMapHighLightTool",
                                                "visible": true
                                            }
                                        ]
                                    }
                                },
                                "detailRightPanel": {
                                    "horizontal": true,
                                    "visible": true
                                },
                                "detailTopPanel": {
                                    "percentInTotalVisible": true,
                                    "visible": false
                                }
                            },
                            "type": "NXCubeCard"
                        },
                        {
                            "cardTitle": "承保规模分支机构情况",
                            "dataSetId": "01a50a94-5909-435b-9dd7-490bf989e84e",
                            "size": "row-sm-xs-6 row-xs-sm-12 row-md-3 row-md-sm-6 row-lg-md-3 col-xs-sm-12 col-sm-xs-12 col-sm-lg-12 col-md-12  col-md-lg-12 col-md-sm-6 col-lg-6 ",
                            "structure": {
                                "dimensions": [
                                    {
                                        "granularities": [
                                            {
                                                "key": "LVL1CHANNELNAMEC",
                                                "title": "销售渠道"
                                            }
                                        ],
                                        "key": "Dimension_2",
                                        "title": "渠道"
                                    },
                                    {
                                        "granularities": [
                                            {
                                                "key": "DIMEN1NAME",
                                                "title": "险种"
                                            }
                                        ],
                                        "key": "Dimension_4",
                                        "title": "险种分类"
                                    },
                                    {
                                        "granularities": [
                                            {
                                                "key": "PROVCOMNAME",
                                                "title": "分公司"
                                            },
                                            {
                                                "key": "MANAGECOMNAME",
                                                "title": "支部"
                                            }
                                        ],
                                        "key": "Dimension_3",
                                        "title": "分支"
                                    },
                                    {
                                        "granularities": [
                                            {
                                                "key": "year",
                                                "title": "年"
                                            },
                                            {
                                                "drillTo": true,
                                                "key": "month",
                                                "title": "月"
                                            }
                                        ],
                                        "key": "Dimension_1",
                                        "title": "时间"
                                    }
                                ],
                                "measures": [
                                    {
                                        "key": "yujiguimobaofei",
                                        "title": "预收规模保费"
                                    },
                                    {
                                        "key": "chengbaoguimobaofei",
                                        "title": "承保规模保费"
                                    },
                                    {
                                        "formula": "chengbaoguimobaofei/max(yujiguimobaofei,0)",
                                        "isCreated": true,
                                        "key": "dachenglv",
                                        "title": "达成率"
                                    }
                                ]
                            },
                            "style": {
                                "chart": {
                                    "chartConfig": {
                                        "axis": [
                                            {
                                                "axisType": "NXAxisTypeDateTime",
                                                "id": "bottom"
                                            },
                                            {
                                                "axisType": "NXAxisTypeNumberic",
                                                "coordinate": "NXCoordinateY",
                                                "id": "left",
                                                "majorPoint": {
                                                    "label": {
                                                        "labelFormatter": ",###",
                                                        "labelNumberUnit": true
                                                    }
                                                }
                                            },
                                            {
                                                "axisType": "NXAxisTypeNumberic",
                                                "coordinate": "NXCoordinateY",
                                                "id": "right",
                                                "majorPoint": {
                                                    "gridLine": {
                                                        "gridLineVisible": false
                                                    },
                                                    "label": {
                                                        "labelDirection": "NXSignPositive",
                                                        "labelFormatter": "#%",
                                                        "labelNumberUnit": false
                                                    },
                                                    "tick": {
                                                        "tickDirection": "NXSignPositive",
                                                        "tickLength": 1,
                                                        "tickLineStyle": {
                                                            "lineColor": "#ff0000",
                                                            "lineWidth": 1
                                                        },
                                                        "tickVisible": true
                                                    }
                                                },
                                                "maxValue": 3,
                                                "minValue": 0
                                            }
                                        ],
                                        "series": [
                                            {
                                                "accumulation": false,
                                                "barFill": {
                                                    "fillColor": "#51a9d6"
                                                },
                                                "dataSource": {
                                                    "xDataSourceDateFormatString": "MM",
                                                    "xDataSourceDateLocale": "zh",
                                                    "xDisplayDateFormatString": "MM",
                                                    "xDisplayDateLocale": "zh",
                                                    "yValueSource": "chengbaoguimobaofei"
                                                },
                                                "id": "revenueAccumulateAsMonthBar",
                                                "orientation": "vertical",
                                                "sort": {
                                                    "sortSource": "x",
                                                    "sortType": "NXSortOperationAsc"
                                                },
                                                "stackedType": "NXChartSeriesStackedTypeSide",
                                                "type": "NXBarSeries",
                                                "xAxis": "bottom",
                                                "yAxis": "left"
                                            },
                                            {
                                                "accumulation": false,
                                                "dataSource": {
                                                    "xDataSourceDateFormatString": "MM",
                                                    "xDataSourceDateLocale": "zh",
                                                    "xDisplayDateFormatString": "MM",
                                                    "xDisplayDateLocale": "zh",
                                                    "yFormatNumberUnit": false,
                                                    "yFormatString": "#%",
                                                    "yValueSource": "dachenglv"
                                                },
                                                "id": "targetRevenueAccumulateAsMonthLine",
                                                "lineStyle": {
                                                    "lineColor": "#955cbf"
                                                },
                                                "orientation": "vertical",
                                                "sort": {
                                                    "sortSource": "x",
                                                    "sortType": "NXSortOperationAsc"
                                                },
                                                "symbol": {
                                                    "symbolFill": {
                                                        "fillColor": "#955cbf"
                                                    }
                                                },
                                                "type": "NXLineSeries",
                                                "xAxis": "bottom",
                                                "yAxis": "right"
                                            }
                                        ],
                                        "touchTools": [
                                            {
                                                "crossAxis": "bottom",
                                                "enableMultiTouch": false,
                                                "removeOnRelease": false,
                                                "showBelowSeries": false,
                                                "targetSeries": [
                                                    "revenueAccumulateAsMonthBar",
                                                    "targetRevenueAccumulateAsMonthLine"
                                                ],
                                                "toolType": "NXHighLightTool",
                                                "visible": true
                                            },
                                            {
                                                "targetSeries": [
                                                    "revenueAccumulateAsMonthBar",
                                                    "targetRevenueAccumulateAsMonthLine"
                                                ],
                                                "toolType": "NXNavigationTool",
                                                "visible": true
                                            }
                                        ]
                                    }
                                },
                                "detailTopPanel": {
                                    "type": "NXDetailNormalTargetReal",
                                    "visible": true
                                }
                            },
                            "type": "NXCubeCard"
                        },
                        {
                            "cardTitle": "预收规模保费各省分公司情况",
                            "dataSetId": "01a50a94-5909-435b-9dd7-490bf989e84e",
                            "linkEvent": {
                                "isEventSource": true
                            },
                            "size": "row-sm-xs-6 row-xs-sm-12 row-md-3 row-md-sm-6 row-lg-md-3 col-xs-sm-12 col-sm-xs-12 col-sm-lg-12 col-md-12  col-md-lg-12 col-md-sm-6 col-lg-6 ",
                            "structure": {
                                "dimensions": [
                                    {
                                        "granularities": [
                                            {
                                                "key": "year",
                                                "title": "年"
                                            },
                                            {
                                                "key": "month",
                                                "title": "月"
                                            }
                                        ],
                                        "key": "Dimension_1",
                                        "title": "时间"
                                    },
                                    {
                                        "granularities": [
                                            {
                                                "key": "LVL1CHANNELNAMEC",
                                                "title": "销售渠道"
                                            }
                                        ],
                                        "key": "Dimension_2",
                                        "title": "渠道"
                                    },
                                    {
                                        "granularities": [
                                            {
                                                "key": "DIMEN1NAME",
                                                "title": "险种"
                                            }
                                        ],
                                        "key": "Dimension_4",
                                        "title": "险种分类"
                                    },
                                    {
                                        "granularities": [
                                            {
                                                "key": "PROVCOMNAME",
                                                "title": "分公司"
                                            },
                                            {
                                                "key": "MANAGECOMNAME",
                                                "title": "支部"
                                            }
                                        ],
                                        "key": "Dimension_3",
                                        "title": "分支"
                                    }
                                ],
                                "measures": [
                                    {
                                        "key": "yujiguimobaofei",
                                        "title": "预收规模保费"
                                    }
                                ]
                            },
                            "style": {
                                "chart": {
                                    "chartConfig": {
                                        "series": [
                                            {
                                                "dataSource": {
                                                    "colorRange": {
                                                        "linearRange": [
                                                            {
                                                                "color": {
                                                                    "fillColor": "#0eb83b"
                                                                },
                                                                "value": 50000
                                                            },
                                                            {
                                                                "color": {
                                                                    "fillColor": "#e84d60"
                                                                },
                                                                "value": 100000
                                                            },
                                                            {
                                                                "color": {
                                                                    "fillColor": "#e88f61"
                                                                },
                                                                "value": 1000000
                                                            },
                                                            {
                                                                "color": {
                                                                    "fillColor": "#fecd6c"
                                                                },
                                                                "value": 10000000
                                                            },
                                                            {
                                                                "color": {
                                                                    "fillColor": "#b3cf61"
                                                                },
                                                                "value": 100000000
                                                            }
                                                        ],
                                                        "valueSource": "yujiguimobaofei"
                                                    },
                                                    "yValueSource": "yujiguimobaofei"
                                                },
                                                "focusZoomOnSelect": false,
                                                "id": "chinamap",
                                                "mapType": "China",
                                                "type": "NXMapSeries"
                                            }
                                        ],
                                        "touchTools": [
                                            {
                                                "targetSeries": [
                                                    "chinamap"
                                                ],
                                                "toolType": "NXZoomTool"
                                            },
                                            {
                                                "enableMultiTouch": false,
                                                "removeOnRelease": false,
                                                "showBelowSeries": false,
                                                "targetSeries": [
                                                    "chinamap"
                                                ],
                                                "toolType": "NXMapHighLightTool",
                                                "visible": true
                                            }
                                        ]
                                    }
                                },
                                "detailRightPanel": {
                                    "horizontal": true,
                                    "visible": true
                                },
                                "detailTopPanel": {
                                    "percentInTotalVisible": true,
                                    "visible": false
                                }
                            },
                            "type": "NXCubeCard"
                        },
                        {
                            "cardTitle": "预收规模保费累积vs承保规模累积分支机构情况",
                            "dataSetId": "01a50a94-5909-435b-9dd7-490bf989e84e",
                            "size": "row-sm-xs-6 row-xs-sm-12 row-md-3 row-md-sm-6 row-lg-md-3 col-xs-sm-12 col-sm-xs-12 col-sm-lg-12 col-md-12  col-md-lg-12 col-md-sm-6 col-lg-6 ",
                            "structure": {
                                "dimensions": [
                                    {
                                        "granularities": [
                                            {
                                                "key": "LVL1CHANNELNAMEC",
                                                "title": "销售渠道"
                                            }
                                        ],
                                        "key": "Dimension_2",
                                        "title": "渠道"
                                    },
                                    {
                                        "granularities": [
                                            {
                                                "key": "DIMEN1NAME",
                                                "title": "险种"
                                            }
                                        ],
                                        "key": "Dimension_4",
                                        "title": "险种分类"
                                    },
                                    {
                                        "granularities": [
                                            {
                                                "key": "PROVCOMNAME",
                                                "title": "分公司"
                                            },
                                            {
                                                "key": "MANAGECOMNAME",
                                                "title": "支部"
                                            }
                                        ],
                                        "key": "Dimension_3",
                                        "title": "分支"
                                    },
                                    {
                                        "granularities": [
                                            {
                                                "key": "year",
                                                "title": "年"
                                            },
                                            {
                                                "drillTo": true,
                                                "key": "month",
                                                "title": "月"
                                            }
                                        ],
                                        "key": "Dimension_1",
                                        "title": "时间"
                                    }
                                ],
                                "measures": [
                                    {
                                        "key": "yujiguimobaofei",
                                        "title": "预收规模保费"
                                    },
                                    {
                                        "key": "chengbaoguimobaofei",
                                        "title": "承保规模保费"
                                    }
                                ]
                            },
                            "style": {
                                "chart": {
                                    "chartConfig": {
                                        "axis": [
                                            {
                                                "axisType": "NXAxisTypeDateTime",
                                                "id": "bottom"
                                            },
                                            {
                                                "axisType": "NXAxisTypeNumberic",
                                                "coordinate": "NXCoordinateY",
                                                "id": "left",
                                                "majorPoint": {
                                                    "label": {
                                                        "labelFormatter": ",###",
                                                        "labelNumberUnit": true
                                                    }
                                                }
                                            }
                                        ],
                                        "series": [
                                            {
                                                "accumulation": true,
                                                "barFill": {
                                                    "fillColor": "#51a9d6"
                                                },
                                                "dataSource": {
                                                    "xDataSourceDateFormatString": "MM",
                                                    "xDataSourceDateLocale": "zh",
                                                    "xDisplayDateFormatString": "MM",
                                                    "xDisplayDateLocale": "zh",
                                                    "yFormatNumberUnit": true,
                                                    "yValueSource": "chengbaoguimobaofei"
                                                },
                                                "id": "revenueAccumulateAsMonthBar",
                                                "orientation": "vertical",
                                                "sort": {
                                                    "sortSource": "x",
                                                    "sortType": "NXSortOperationAsc"
                                                },
                                                "stackedType": "NXChartSeriesStackedTypeSide",
                                                "type": "NXBarSeries",
                                                "xAxis": "bottom",
                                                "yAxis": "left"
                                            },
                                            {
                                                "accumulation": true,
                                                "dataSource": {
                                                    "xDataSourceDateFormatString": "MM",
                                                    "xDataSourceDateLocale": "zh",
                                                    "xDisplayDateFormatString": "MM",
                                                    "xDisplayDateLocale": "zh",
                                                    "yFormatNumberUnit": true,
                                                    "yValueSource": "yujiguimobaofei"
                                                },
                                                "id": "targetRevenueAccumulateAsMonthLine",
                                                "isTargetSeries": true,
                                                "lineStyle": {
                                                    "lineColor": "#955cbf"
                                                },
                                                "orientation": "vertical",
                                                "sort": {
                                                    "sortSource": "x",
                                                    "sortType": "NXSortOperationAsc"
                                                },
                                                "symbol": {
                                                    "symbolFill": {
                                                        "fillColor": "#955cbf"
                                                    }
                                                },
                                                "type": "NXStepLineSeries",
                                                "xAxis": "bottom",
                                                "yAxis": "left"
                                            }
                                        ],
                                        "touchTools": [
                                            {
                                                "crossAxis": "bottom",
                                                "enableMultiTouch": false,
                                                "removeOnRelease": false,
                                                "showBelowSeries": false,
                                                "targetSeries": [
                                                    "revenueAccumulateAsMonthBar",
                                                    "targetRevenueAccumulateAsMonthLine"
                                                ],
                                                "toolType": "NXHighLightTool",
                                                "visible": true
                                            }
                                        ]
                                    }
                                },
                                "detailTopPanel": {
                                    "type": "NXDetailNormalTargetReal",
                                    "visible": true
                                }
                            },
                            "type": "NXCubeCard"
                        }
                    ]
                },
                {
                    "size": "row-12 col-12",
                    "subCards": [
                        {
                            "cardTitle": "承保标准保费各省公司占比",
                            "dataSetId": "01a50a94-5909-435b-9dd7-490bf989e84e",
                            "size": "row-sm-xs-6 row-xs-sm-12 row-md-3 row-md-sm-6 row-lg-md-3 col-xs-sm-12 col-sm-xs-12 col-sm-lg-12 col-md-12  col-md-lg-12 col-md-sm-6 col-lg-6 ",
                            "structure": {
                                "dimensions": [
                                    {
                                        "granularities": [
                                            {
                                                "key": "year",
                                                "title": "年"
                                            },
                                            {
                                                "key": "month",
                                                "title": "月"
                                            }
                                        ],
                                        "key": "Dimension_1",
                                        "title": "时间"
                                    },
                                    {
                                        "granularities": [
                                            {
                                                "key": "LVL1CHANNELNAMEC",
                                                "title": "销售渠道"
                                            }
                                        ],
                                        "key": "Dimension_2",
                                        "title": "渠道"
                                    },
                                    {
                                        "granularities": [
                                            {
                                                "key": "DIMEN1NAME",
                                                "title": "险种"
                                            }
                                        ],
                                        "key": "Dimension_4",
                                        "title": "险种分类"
                                    },
                                    {
                                        "granularities": [
                                            {
                                                "key": "PROVCOMNAME",
                                                "title": "分公司"
                                            },
                                            {
                                                "key": "MANAGECOMNAME",
                                                "title": "支部"
                                            }
                                        ],
                                        "key": "Dimension_3",
                                        "title": "分支"
                                    }
                                ],
                                "measures": [
                                    {
                                        "key": "chengbaobiaozhunbaofei"
                                    }
                                ]
                            },
                            "style": {
                                "chart": {
                                    "chartConfig": {
                                        "series": [
                                            {
                                                "dataSource": {
                                                    "yValueSource": "chengbaobiaozhunbaofei"
                                                },
                                                "id": "pie",
                                                "type": "NXPieSeries"
                                            }
                                        ],
                                        "touchTools": [
                                            {
                                                "targetSeries": [
                                                    "pie"
                                                ],
                                                "toolType": "NXPieSpinTool"
                                            }
                                        ]
                                    }
                                },
                                "detailRightPanel": {
                                    "horizontal": true,
                                    "visible": true
                                },
                                "detailTopPanel": {
                                    "percentInTotalVisible": true,
                                    "type": "NXDetailVertical",
                                    "visible": false
                                },
                                "detailTotalPanel": {
                                    "isAboveDetailTop": true
                                }
                            },
                            "type": "NXCubeCard"
                        },
                        {
                            "cardTitle": "承保标准保费支部占比",
                            "dataSetId": "01a50a94-5909-435b-9dd7-490bf989e84e",
                            "size": "row-sm-xs-6 row-xs-sm-12 row-md-3 row-md-sm-6 row-lg-md-3 col-xs-sm-12 col-sm-xs-12 col-sm-lg-12 col-md-12  col-md-lg-12 col-md-sm-6 col-lg-6 ",
                            "structure": {
                                "dimensions": [
                                    {
                                        "granularities": [
                                            {
                                                "key": "year",
                                                "title": "年"
                                            },
                                            {
                                                "key": "month",
                                                "title": "月"
                                            }
                                        ],
                                        "key": "Dimension_1",
                                        "title": "时间"
                                    },
                                    {
                                        "granularities": [
                                            {
                                                "key": "LVL1CHANNELNAMEC",
                                                "title": "销售渠道"
                                            }
                                        ],
                                        "key": "Dimension_2",
                                        "title": "渠道"
                                    },
                                    {
                                        "granularities": [
                                            {
                                                "key": "DIMEN1NAME",
                                                "title": "险种"
                                            }
                                        ],
                                        "key": "Dimension_4",
                                        "title": "险种分类"
                                    },
                                    {
                                        "granularities": [
                                            {
                                                "key": "PROVCOMNAME",
                                                "title": "分公司"
                                            },
                                            {
                                                "drillTo": true,
                                                "key": "MANAGECOMNAME",
                                                "title": "支部"
                                            }
                                        ],
                                        "key": "Dimension_3",
                                        "title": "分支"
                                    }
                                ],
                                "measures": [
                                    {
                                        "key": "chengbaobiaozhunbaofei"
                                    }
                                ]
                            },
                            "style": {
                                "chart": {
                                    "chartConfig": {
                                        "series": [
                                            {
                                                "dataSource": {
                                                    "yValueSource": "chengbaobiaozhunbaofei"
                                                },
                                                "id": "pie",
                                                "type": "NXPieSeries"
                                            }
                                        ],
                                        "touchTools": [
                                            {
                                                "targetSeries": [
                                                    "pie"
                                                ],
                                                "toolType": "NXPieSpinTool"
                                            }
                                        ]
                                    }
                                },
                                "detailRightPanel": {
                                    "horizontal": true,
                                    "visible": true
                                },
                                "detailTopPanel": {
                                    "percentInTotalVisible": true,
                                    "type": "NXDetailVertical",
                                    "visible": false
                                },
                                "detailTotalPanel": {
                                    "isAboveDetailTop": true
                                }
                            },
                            "type": "NXCubeCard"
                        },
                        {
                            "cardTitle": "承保规模保费各省公司占比",
                            "dataSetId": "01a50a94-5909-435b-9dd7-490bf989e84e",
                            "size": "row-sm-xs-6 row-xs-sm-12 row-md-3 row-md-sm-6 row-lg-md-3 col-xs-sm-12 col-sm-xs-12 col-sm-lg-12 col-md-12  col-md-lg-12 col-md-sm-6 col-lg-6 ",
                            "structure": {
                                "dimensions": [
                                    {
                                        "granularities": [
                                            {
                                                "key": "year",
                                                "title": "年"
                                            },
                                            {
                                                "key": "month",
                                                "title": "月"
                                            }
                                        ],
                                        "key": "Dimension_1",
                                        "title": "时间"
                                    },
                                    {
                                        "granularities": [
                                            {
                                                "key": "LVL1CHANNELNAMEC",
                                                "title": "销售渠道"
                                            }
                                        ],
                                        "key": "Dimension_2",
                                        "title": "渠道"
                                    },
                                    {
                                        "granularities": [
                                            {
                                                "key": "DIMEN1NAME",
                                                "title": "险种"
                                            }
                                        ],
                                        "key": "Dimension_4",
                                        "title": "险种分类"
                                    },
                                    {
                                        "granularities": [
                                            {
                                                "key": "PROVCOMNAME",
                                                "title": "分公司"
                                            },
                                            {
                                                "key": "MANAGECOMNAME",
                                                "title": "支部"
                                            }
                                        ],
                                        "key": "Dimension_3",
                                        "title": "分支"
                                    }
                                ],
                                "measures": [
                                    {
                                        "key": "chengbaoguimobaofei"
                                    }
                                ]
                            },
                            "style": {
                                "chart": {
                                    "chartConfig": {
                                        "series": [
                                            {
                                                "dataSource": {
                                                    "yValueSource": "chengbaoguimobaofei"
                                                },
                                                "id": "pie",
                                                "type": "NXPieSeries"
                                            }
                                        ],
                                        "touchTools": [
                                            {
                                                "targetSeries": [
                                                    "pie"
                                                ],
                                                "toolType": "NXPieSpinTool"
                                            }
                                        ]
                                    }
                                },
                                "detailRightPanel": {
                                    "horizontal": true,
                                    "visible": true
                                },
                                "detailTopPanel": {
                                    "percentInTotalVisible": true,
                                    "type": "NXDetailVertical",
                                    "visible": false
                                },
                                "detailTotalPanel": {
                                    "isAboveDetailTop": true
                                }
                            },
                            "type": "NXCubeCard"
                        },
                        {
                            "cardTitle": "承保规模保费支部占比",
                            "dataSetId": "01a50a94-5909-435b-9dd7-490bf989e84e",
                            "size": "row-sm-xs-6 row-xs-sm-12 row-md-3 row-md-sm-6 row-lg-md-3 col-xs-sm-12 col-sm-xs-12 col-sm-lg-12 col-md-12  col-md-lg-12 col-md-sm-6 col-lg-6 ",
                            "structure": {
                                "dimensions": [
                                    {
                                        "granularities": [
                                            {
                                                "key": "year",
                                                "title": "年"
                                            },
                                            {
                                                "key": "month",
                                                "title": "月"
                                            }
                                        ],
                                        "key": "Dimension_1",
                                        "title": "时间"
                                    },
                                    {
                                        "granularities": [
                                            {
                                                "key": "LVL1CHANNELNAMEC",
                                                "title": "销售渠道"
                                            }
                                        ],
                                        "key": "Dimension_2",
                                        "title": "渠道"
                                    },
                                    {
                                        "granularities": [
                                            {
                                                "key": "DIMEN1NAME",
                                                "title": "险种"
                                            }
                                        ],
                                        "key": "Dimension_4",
                                        "title": "险种分类"
                                    },
                                    {
                                        "granularities": [
                                            {
                                                "key": "PROVCOMNAME",
                                                "title": "分公司"
                                            },
                                            {
                                                "drillTo": true,
                                                "key": "MANAGECOMNAME",
                                                "title": "支部"
                                            }
                                        ],
                                        "key": "Dimension_3",
                                        "title": "分支"
                                    }
                                ],
                                "measures": [
                                    {
                                        "key": "chengbaoguimobaofei"
                                    }
                                ]
                            },
                            "style": {
                                "chart": {
                                    "chartConfig": {
                                        "series": [
                                            {
                                                "dataSource": {
                                                    "yValueSource": "chengbaoguimobaofei"
                                                },
                                                "id": "pie",
                                                "type": "NXPieSeries"
                                            }
                                        ],
                                        "touchTools": [
                                            {
                                                "targetSeries": [
                                                    "pie"
                                                ],
                                                "toolType": "NXPieSpinTool"
                                            }
                                        ]
                                    }
                                },
                                "detailRightPanel": {
                                    "horizontal": true,
                                    "visible": true
                                },
                                "detailTopPanel": {
                                    "percentInTotalVisible": true,
                                    "type": "NXDetailVertical",
                                    "visible": false
                                },
                                "detailTotalPanel": {
                                    "isAboveDetailTop": true
                                }
                            },
                            "type": "NXCubeCard"
                        }
                    ]
                },
                {
                    "cardTitle": "承保标准保险种对比",
                    "dataSetId": "01a50a94-5909-435b-9dd7-490bf989e84e",
                    "size": "row-sm-xs-6 row-xs-sm-12 row-md-3 row-md-sm-6 row-lg-md-3 col-xs-sm-12 col-sm-xs-12 col-sm-lg-12 col-md-12  col-md-lg-12 col-md-sm-6 col-lg-6 ",
                    "structure": {
                        "dimensions": [
                            {
                                "granularities": [
                                    {
                                        "key": "LVL1CHANNELNAMEC",
                                        "title": "销售渠道"
                                    }
                                ],
                                "key": "Dimension_2",
                                "title": "渠道"
                            },
                            {
                                "granularities": [
                                    {
                                        "key": "PROVCOMNAME",
                                        "title": "分公司"
                                    },
                                    {
                                        "key": "MANAGECOMNAME",
                                        "title": "支部"
                                    }
                                ],
                                "key": "Dimension_3",
                                "title": "分支"
                            },
                            {
                                "granularities": [
                                    {
                                        "key": "DIMEN1NAME",
                                        "title": "险种"
                                    }
                                ],
                                "key": "Dimension_4",
                                "title": "险种分类"
                            },
                            {
                                "granularities": [
                                    {
                                        "index": 1,
                                        "key": "year",
                                        "title": "年"
                                    },
                                    {
                                        "drillTo": true,
                                        "index": 2,
                                        "key": "month",
                                        "title": "月"
                                    }
                                ],
                                "key": "Dimension_1",
                                "title": "时间"
                            }
                        ],
                        "measures": [
                            {
                                "key": "chengbaobiaozhunbaofei"
                            }
                        ]
                    },
                    "style": {
                        "chart": {
                            "chartConfig": {
                                "axis": [
                                    {
                                        "axisType": "NXAxisTypeDateTime",
                                        "id": "bottom"
                                    },
                                    {
                                        "axisType": "NXAxisTypeNumberic",
                                        "coordinate": "NXCoordinateY",
                                        "id": "left",
                                        "majorPoint": {
                                            "label": {
                                                "labelFormatter": ",###",
                                                "labelNumberUnit": true
                                            }
                                        }
                                    }
                                ],
                                "series": [
                                    {
                                        "barFill": {
                                            "fillColor": "#51a9d6"
                                        },
                                        "dataSource": {
                                            "xDataSourceDateFormatString": "MM",
                                            "xDataSourceDateLocale": "zh",
                                            "xDisplayDateFormatString": "MM",
                                            "xDisplayDateLocale": "zh",
                                            "yValueSource": "chengbaobiaozhunbaofei"
                                        },
                                        "id": "bar",
                                        "iteration": {
                                            "isMultiLevel": true
                                        },
                                        "orientation": "vertical",
                                        "sort": {
                                            "sortSource": "x",
                                            "sortType": "NXSortOperationAsc"
                                        },
                                        "stackedType": "NXChartSeriesStackedTypeSide",
                                        "type": "NXBarSeries",
                                        "xAxis": "bottom",
                                        "yAxis": "left"
                                    }
                                ],
                                "touchTools": [
                                    {
                                        "crossAxis": "bottom",
                                        "enableMultiTouch": false,
                                        "targetSeries": [
                                            "bar"
                                        ],
                                        "toolType": "NXHighLightTool",
                                        "visible": true
                                    },
                                    {
                                        "active": true,
                                        "crossAxis": "bottom",
                                        "targetSeries": [
                                            "bar"
                                        ],
                                        "toolType": "NXChangeActiveSeriesTool"
                                    }
                                ]
                            }
                        },
                        "detailTopPanel": {
                            "visible": true
                        }
                    },
                    "type": "NXCubeCard"
                },
                {
                    "cardTitle": "承保标准保渠道对比",
                    "dataSetId": "01a50a94-5909-435b-9dd7-490bf989e84e",
                    "size": "row-sm-xs-6 row-xs-sm-12 row-md-3 row-md-sm-6 row-lg-md-3 col-xs-sm-12 col-sm-xs-12 col-sm-lg-12 col-md-12  col-md-lg-12 col-md-sm-6 col-lg-6 ",
                    "structure": {
                        "dimensions": [
                            {
                                "granularities": [
                                    {
                                        "key": "year",
                                        "title": "年"
                                    },
                                    {
                                        "key": "month",
                                        "title": "月"
                                    }
                                ],
                                "key": "Dimension_1",
                                "title": "时间"
                            },
                            {
                                "granularities": [
                                    {
                                        "key": "PROVCOMNAME",
                                        "title": "分公司"
                                    },
                                    {
                                        "key": "MANAGECOMNAME",
                                        "title": "支部"
                                    }
                                ],
                                "key": "Dimension_3",
                                "title": "分支"
                            },
                            {
                                "granularities": [
                                    {
                                        "key": "DIMEN1NAME",
                                        "title": "险种"
                                    }
                                ],
                                "key": "Dimension_4",
                                "title": "险种分类"
                            },
                            {
                                "granularities": [
                                    {
                                        "key": "LVL1CHANNELNAMEC",
                                        "title": "销售渠道"
                                    }
                                ],
                                "key": "Dimension_2",
                                "title": "渠道"
                            }
                        ],
                        "measures": [
                            {
                                "key": "chengbaobiaozhunbaofei"
                            }
                        ]
                    },
                    "style": {
                        "chart": {
                            "chartConfig": {
                                "axis": [
                                    {
                                        "axisType": "NXAxisTypeCategory",
                                        "id": "bottom"
                                    },
                                    {
                                        "axisMaxPaddingForPlot": 0.1,
                                        "axisType": "NXAxisTypeNumberic",
                                        "coordinate": "NXCoordinateY",
                                        "id": "left",
                                        "majorPoint": {
                                            "label": {
                                                "labelNumberUnit": true
                                            }
                                        }
                                    }
                                ],
                                "series": [
                                    {
                                        "barFill": {
                                            "fillColor": "#51a9d6"
                                        },
                                        "dataSource": {
                                            "yValueSource": "chengbaobiaozhunbaofei"
                                        },
                                        "id": "bar",
                                        "isSeriesPureColor": false,
                                        "orientation": "vertical",
                                        "showOverlayAll": true,
                                        "stackedType": "NXChartSeriesStackedTypeSide",
                                        "standOnShoulder": true,
                                        "type": "NXBarSeries",
                                        "xAxis": "bottom",
                                        "yAxis": "left"
                                    }
                                ],
                                "touchTools": [
                                    {
                                        "crossAxis": "bottom",
                                        "enableMultiTouch": true,
                                        "targetSeries": [
                                            "bar"
                                        ],
                                        "toolType": "NXHighLightTool",
                                        "visible": true
                                    }
                                ]
                            }
                        },
                        "detailTopPanel": {
                            "visible": true
                        }
                    },
                    "type": "NXCubeCard"
                }
            ],
            "pageColor": "#718dbf",
            "pageTitle": "某人寿股份有限公司经营指标"
        }
    ],
    "status": "readyForView",
    "title": "人寿案例"
}

第一张卡片解析

第一张卡片是一个容器,一个容器里可以装多个子卡片,子卡片按布局填充当前页面,填充不了的放下一页,用手势快速滑动来切换,容器卡片底部会有一个翻页的页表示一共有几页。

"detailRightPanel": {
    "visible": true
},
"detailTopPanel": {
    "percentInTotalVisible": true,
    "type": "NXDetailVertical",
    "visible": false
},
"detailTotalPanel": {
    "isAboveDetailTop": true
}

上面的配置是右边滑动的数值指示器是可见的,顶上的数值指示器不可见,汇总值可见。 如果改成下面的配置则右边的指示器不可见,使用上面的观察数值。

"detailRightPanel": {
    "visible": false
},
"detailTopPanel": {
    "percentInTotalVisible": true,
    "type": "NXDetailVertical",
    "visible": false
},
"detailTotalPanel": {
    "isAboveDetailTop": true
}

第三张卡片解析

第三张卡片中的粒度设定多了一个index值和drillTo值。默认index值是0,设定后会按粒度从小到大排序,排最后一个的会作会图形粒度。index相同的情况下按granularities里面数组的排列先后定顺序。维度中如果所有粒度未设drillTo,默认钻取到最上层也就是第一层。第三张卡片按理说时间维度钻取到年,但drillTo为true表明时间维度默认钻取到月。

touchTools 卡片里加了1个触摸交互工具


{
    "touchTools": [
        {
            "crossAxis": "bottom",
            "enableMultiTouch": true,
            "targetSeries": [
                "bar"
            ],
            "toolType": "NXHighLightTool",
            "visible": true
        }
    ]
}

该工具是NXHighLightTool,在多个数据项的情况下用来单击进行高亮某个数据项。如果去掉这个工具,series将会失去高亮的功能,不能突显某条数据项了。

results matching ""

    No results matching ""