MDK Logo
UI Kitreact-devkitComponentsFoundationWidgets

ContainerCharts

Tabbed chart panel showing per-container hashrate, power, and temperature time series.

Tabbed chart panel showing per-container hashrate, power, and temperature time series.

import { ContainerCharts } from "@tetherto/mdk-react-devkit";
PropStatusTypeDefaultDescription
featureEnabledOptionalboolean | undefinedtrueWhen false, shows an empty state (feature gate).
disabledMessageOptionalstring | undefinedMessage when `featureEnabled` is false
combinationsRequiredContainerChartCombinationOption[]Options for the combination selector
isLoadingCombinationsOptionalboolean | undefinedLoading state for combination options
titleOptionalstring | undefinedSection heading
selectedCombinationOptionalstring | null | undefinedControlled selected combination value
defaultSelectedCombinationOptionalstring | null | undefinedInitial selection when uncontrolled
onSelectedCombinationChangeOptional((value: string | null) => void) | undefined
chartRawDataOptionalChartEntry[] | null | undefinedRaw overview stats rows passed to chart adapters
isLoadingChartsOptionalboolean | undefined
getDatasetBorderColorOptionalContainerChartsDatasetBorderColorResolver | undefinedOptional per-dataset line colors after adapters run (e.g. demo or host branding).

Usage

Multi-series time-series chart panel used by container detail views to display temperature, pressure, and power data over configurable time windows. Supports paired-index expansion for dual-tank (Bitdeer) and dual-supply (Bitmain Immersion) container types.

Minimal example

import { ContainerCharts } from "@tetherto/mdk-react-devkit";

<ContainerCharts chartCombinations={[]} data={null} isLoading={false} />

Example

import { ContainerCharts } from '@tetherto/mdk-react-devkit'export const ContainerChartsExample = () => (  <div className="mdk-example-row">    <ContainerCharts combinations={[]} />  </div>)