public
Authored by avatar Nguyễn Trường Thơ

RADA_CHART

Edited
snippetfile1.txt 18.50 KiB
     {
                            "code": "cvsub1-cvcom4-cvobj04",
                            "type": "datamodel",
                            "moduleCode": "testchartview",
                            "subModuleCode": "cvsub1",
                            "componentCode": "cvsub1-cvcom4",
                            "rawComponentCode": "cvcom4",
                            "rule": [],
                            "buttons": [],
                            "title": "Radar Chart View",
                            "desc": "",
                            "icon": "https://rta-module-assets.s3.us-central-1.wasabisys.com/testchartview/50d5a6b355cc620c8f848b2fcffb0e23",
                            "alias": "",
                            "background": "https://rta-module-assets.s3.us-central-1.wasabisys.com/testchartview/50d5a6b355cc620c8f848b2fcffb0e23",
                            "guestMode": 0,
                            "quickAccess": 1,
                            "modalTitle": "Radar Chart View",
                            "root_screen": "cvsub1-cvcom4-cvobj04-screen4",
                            "screens": [
                                {
                                    "code": "cvsub1-cvcom4-cvobj04-screen4",
                                    "title": "o4s4 - Radar Chart View",
                                    "top_area": [
                                        {
                                            "code": "cvsub1-cvcom4-cvobj04-screen4-item7",
                                            "type": "buttonGroup",
                                            "title": "top_area with full action button",
                                            "item_id": 7,
                                            "screen_id": 4,
                                            "status": 1,
                                            "buttons": [
                                                {
                                                    "actionID": 1,
                                                    "orderNumber": "1",
                                                    "label": "Call",
                                                    "phone": "0981226",
                                                    "type": "act_call"
                                                },
                                                {
                                                    "actionID": 2,
                                                    "orderNumber": "2",
                                                    "name": "Call Via Cloudphone",
                                                    "label": "Call Via Cloudphone",
                                                    "type": "act_call_cloudphone",
                                                    "isVideoCall": "false",
                                                    "isCallOut": "true",
                                                    "phone": "0981226"
                                                },
                                                {
                                                    "actionID": 3,
                                                    "orderNumber": "3",
                                                    "label": "SMS",
                                                    "phone": "0981226",
                                                    "type": "act_sms",
                                                    "defaultMsg": "send message test"
                                                },
                                                {
                                                    "actionID": 4,
                                                    "orderNumber": "4",
                                                    "name": "Show Location",
                                                    "type": "act_gps",
                                                    "lat": "10.8186156",
                                                    "lon": "106.6753839"
                                                },
                                                {
                                                    "actionID": 5,
                                                    "orderNumber": "5",
                                                    "title": "View Report",
                                                    "reportID": "107",
                                                    "type": "act_report"
                                                },
                                                {
                                                    "actionID": 6,
                                                    "orderNumber": "6",
                                                    "type": "act_fill_form",
                                                    "label": "Fill Form",
                                                    "formID": "",
                                                    "familyID": "testchartview",
                                                    "preload": [
                                                        {
                                                            "key": "text_a1",
                                                            "value": "rta_thaotruong"
                                                        },
                                                        {
                                                            "key": "preload",
                                                            "value": "Preload from Datamodel View"
                                                        }
                                                    ]
                                                },
                                                {
                                                    "actionID": 7,
                                                    "orderNumber": "7",
                                                    "label": "Show Datamodel View",
                                                    "type": "act_dm_view",
                                                    "subModule": "cvsub2",
                                                    "component": "cvcom11",
                                                    "object": "cvsub2-cvcom12-cvobj12",
                                                    "screen": "cvsub2-cvcom12-cvobj12-screen12"
                                                },
                                                {
                                                    "actionID": 9,
                                                    "orderNumber": "9",
                                                    "label": "Get MP3 File",
                                                    "type": "act_call_api",
                                                    "filePath": "/RTAnalytics/cpmsa/file.mp3",
                                                    "url": "http://rta.rtcpms.com/stringee_download.php?call_id=call-vn-1-08FAEK1U4L-1548601780361"
                                                },
                                                {
                                                    "actionID": 10,
                                                    "orderNumber": "10",
                                                    "label": "Share",
                                                    "type": "act_share",
                                                    "copy": "false",
                                                    "subject": "Customer infomation",
                                                    "body": "Test body"
                                                },
                                                {
                                                    "destinationCode": "dm_quick_filter",
                                                    "destinationType": "module",
                                                    "actionID": 12,
                                                    "imageUrl": "https://i.pinimg.com/originals/a8/fe/98/a8fe9828a113080ccb7326dded5194f0.png",
                                                    "label": "Demo Module",
                                                    "orderNumber": "12",
                                                    "type": "act_open_module"
                                                }
                                            ],
                                            "screenCode": "cvsub1-cvcom4-cvobj04-screen4"
                                        }
                                    ],
                                    "body_area": [
                                        {
                                            "code": "cvsub1-cvcom4-cvobj04-screen4-item8",
                                            "type": "chartView",
                                            "title": "o4s4 - Radar Chart View",
                                            "item_id": 8,
                                            "screen_id": 4,
                                            "description": "Radar Chart View",
                                            "status": 1,
                                            "filters": [
                                                {
                                                    "title": "User Name",
                                                    "column": "text_a1",
                                                    "entries": [
                                                        "__userinput__"
                                                    ]
                                                },
                                                {
                                                    "title": "Full Name",
                                                    "column": "text_a2",
                                                    "entries": [
                                                        "__userinput__"
                                                    ]
                                                },
                                                {
                                                    "title": "Position",
                                                    "column": "text_a3"
                                                },
                                                {
                                                    "title": "Department",
                                                    "column": "text_a4"
                                                },
                                                {
                                                    "title": "Office",
                                                    "column": "text_a5"
                                                },
                                                {
                                                    "title": "Place of birth",
                                                    "column": "text_a9",
                                                    "entries": [
                                                        "__userinput__"
                                                    ]
                                                },
                                                {
                                                    "title": "Date start work (date)",
                                                    "column": "date_a11",
                                                    "entries": [
                                                        "__date__"
                                                    ]
                                                },
                                                {
                                                    "title": "Date start work (daterange)",
                                                    "column": "date_a11",
                                                    "entries": [
                                                        "__daterange__"
                                                    ]
                                                },
                                                {
                                                    "title": "Date start work (daterecent)",
                                                    "column": "date_a11",
                                                    "entries": [
                                                        "__daterecent__",
                                                        "5 day",
                                                        "12 month",
                                                        "1 year",
                                                        "2 year",
                                                        "5 year",
                                                        "7 year",
                                                        "10 year"
                                                    ]
                                                },
                                                {
                                                    "title": "Date start work (datelast)",
                                                    "column": "date_a11",
                                                    "entries": [
                                                        "__datelast__",
                                                        "5 day",
                                                        "12 month",
                                                        "1 year",
                                                        "2 year",
                                                        "5 year",
                                                        "7 year",
                                                        "10 year"
                                                    ]
                                                }
                                            ],
                                            "layout": {
                                                "height": "70%",
                                                "type": "radarChart",
                                                "color": "#50defa",
                                                "legend": {
                                                    "enable": true
                                                },
                                                "animate": {
                                                    "animateX": 1000,
                                                    "animateY": 1000
                                                },
                                                "displayHighlight": true,
                                                "displayValue": true,
                                                "xAxis": {
                                                    "enable": true,
                                                    "labelRotation": 0,
                                                    "drawGridLines": false,
                                                    "positionLine": "bottom",
                                                    "formatLabel": "11",
                                                    "sort": "asc"
                                                },
                                                "yAxisLeft": {
                                                    "enable": true,
                                                    "drawGridLines": true,
                                                    "formatLabel": "111"
                                                },
                                                "yAxisRight": {
                                                    "enable": true,
                                                    "drawGridLines": true,
                                                    "formatLabel": "1111"
                                                }
                                            },
                                            "screenCode": "cvsub1-cvcom4-cvobj04-screen4",
                                            "attributes": {
                                                "value_x": "text_a4",
                                                "value_y": "count(text_a9)",
                                                "value_line": "text_a5"
                                            },
                                            "filterConfig": {
                                                "typeFilter": 1,
                                                "sortCol": "text_a4",
                                                "order": "ASC",
                                                "quick": {
                                                    "column": "text_a4",
                                                    "entries": [
                                                        "rtLab",
                                                        "rtSolutions Team",
                                                        "HR - Admin"
                                                    ]
                                                }
                                            }
                                        }
                                    ],
                                    "bottom_area": [],
                                    "floating_buttons": {},
                                    "is_root": 1,
                                    "object_id": 4,
                                    "screen_id": 4,
                                    "description": "Radar Chart View"
                                }
                            ],
                            "object_id": 4,
                            "component_code": "cvcom4",
                            "item": "test_chartView",
                            "key_attribute": "id",
                            "resource_as_host": 0,
                            "refresh_rate": 10,
                            "query_params": {
                                "where": "",
                                "get": ""
                            },
                            "dm_host": "https://rtlab01.rtworkspace.com/",
                            "token": "token",
                            "data_path": null,
                            "lite_connection": null,
                            "fetch_data_in_background": null,
                            "screenTheme": null,
                            "dm_name": "test_chartView",
                            "dm_type": "V2"
                        }
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment