Cluster Dashboard

Cluster Dashboard

Let’s take a look at the code.

You can find the checked in file in the Hubstream solution here …

Hubstream.Intelligence.Server.Frontend/Data/Home/clusterdashboardlayout.json

JSON
{
  "PageName": "Cluster Dashboard",
  "Tiles": [
    {
      "SubHeaderLabel": "A breakdown of all your data clustered by connections",
      "SubHeader": "null",
      "Header": "null",
      "HeaderLabel": "Clusters",
      "TileType": "LabelCard",
      "PositionSize": [ 0, 0, 20, 2 ],
      "IsFixed": true,
      "IsResizable": false
    },
    {
      "MenuItems": [
        {
          "Icon": "th",
          "Name": "Cluster",
          "Caption": "Cluster Dashboard"
        }
      ],
      "TileType": "SideMenu",
      "IsFixed": true,
      "IsResizable": false
    },
      {
      "TileType": "LayoutContainer",
      "ContainerBorder": "0 3px 0 0",
      "IsFixed": true,
      "PositionSize": [ 15, -1, 5, 1 ],
      "Tiles": [
        {
          "Caption": "Status",
          "TileType": "SmallLabel",
          "PositionSize": [ 0, 0, 20, 1 ],
          "IsFixed": true,
          "IsResizable": false,
          "Filters": ["Status" ]
        },
        {
          "TileType": "Chart",
          "ChartType": "HorizontalBarChart",
          "PositionSize": [ 0, 1, 20, 5 ],
          "ScrollY": true,
          "IsFixed": true,
          "DataAPI": "tbl/investigation/dashboard/Organization/summary/Status",
          "ViewName": "data.ClusterDashboardView",
          "FieldName": "Status",
          "ActiveValue": "0",
          "SkipScaling": true
        }
      ]
    },
    {
      "TileType": "LayoutContainer",
      "IsFixed": true,
      "PositionSize": [ 0, 2, 15, 20 ],
      "Tiles": [
        {
          "TileType": "Chart",
          "ChartType": "ClusterWidget",
          "TopLeftLabelField": "Status",
          "TopRightLabelField": "IncidentType",
          "BottomLabelField": "Name",
          "ChartColors": "Cool",
          "ChartBackgroundCircleColor": "#334455",
          "PositionSize": [ 0, 0, 20, -1 ],
          "IsFixed": true,
          "DataAPI": "tbl/OnlineIdentity/dashboard/Organization/list?pageNumber=1&pageSize=100",
          "FieldName": "ID",
          "ViewName": "data.ClusterDashboardView",
          "ClusterColumns": [ "Lead", "IPAddress", "Takedown Notice", "Matter", "Email", "Phone", "WebURL" ],
          "OutputColumns": [
            {
              "FieldName": "ID"
            },
            {
              "FieldName": "Name"
            },
            {
              "FieldName": "Takedown Notice"
            },
            {
              "FieldName": "Matter"
            },
            {
              "FieldName": "Lead"
            },
            {
              "FieldName": "IPAddress"
            },
            {
              "FieldName": "Email"
            },
            {
              "FieldName": "Phone"
            },
            {
              "FieldName": "WebURL"
            },
            {
              "FieldName": "IncidentType"
            },
            {
              "FieldName": "Status"
            }
          ]
        }
      ]
    }
  ]
}