You can see further details in the graphs section.

theme: SoftUI({
  index: {
    graph: {
      enabled: Boolean,
      lineGraph: Boolean,
      tag: String,
      max: Number,
    },
  },
});

Example Usage

theme: SoftUI({
  index: {
    graph: {
      enabled: true,
      lineGraph: false,
      tag: "Memory (MB)",
      max: 100,
    },
  },
});

Props

graph
Object
required
enabled
boolean
required

Indicate if the graph should be enabled

lineGraph
boolean

Indicate if the graph should be a line graph

title
string

The title of the graph

tag
string

The tag of the graph

max
number

The max of the graph