Live Data

Values update every 2 s; badges and totals follow, the view stays put.

Chart type
Tree tree
Tier
Premium
Collection
Tree
Render
Live, site theme
View .md Agent setup
LIVE/tree/live-data32 of 37 in Tree

Configuration

Raw Standalone
const options = {
  chart: {
    height: 380,
    toolbar: {
      show: false
    },
    type: "tree"
  },
  series: [
    {
      data: [
        {
          name: "Live traffic",
          children: [
            {
              name: "Europe",
              children: [
                {
                  name: "Eu Web",
                  value: 32
                },
                {
                  name: "Eu App",
                  value: 98
                },
                {
                  name: "Eu API",
                  value: 119
                }
              ]
            },
            {
              name: "Americas",
              children: [
                {
                  name: "Am Web",
                  value: 60
                },
                {
                  name: "Am App",
                  value: 319
                },
                {
                  name: "Am API",
                  value: 320
                }
              ]
            },
            {
              name: "Asia",
              children: [
                {
                  name: "As Web",
                  value: 361
                },
                {
                  name: "As App",
                  value: 368
                },
                {
                  name: "As API",
                  value: 237
                }
              ]
            }
          ]
        }
      ]
    }
  ],
  plotOptions: {
    tree: {
      node: {
        template: "compact"
      }
    }
  },
  theme: {
    mode: "light",
    preset: "coastal"
  }
}

const chart = new WestCoastCharts(document.querySelector('#chart'), options)
chart.render()

This example uses Premium modules. Compare licences · Embedding in a distributed product?