MDK Logo

HashrateMinerTypeView

Hashrate drilldown grouped by miner model - bar chart of the latest hashrate per miner type, with an optional multi-select filter.

Hashrate drilldown grouped by miner model - bar chart of the latest hashrate per miner type, with an optional multi-select filter.

import { HashrateMinerTypeView } from "@tetherto/mdk-react-devkit";
PropStatusTypeDefaultDescription
logOptionalHashrateGroupedLog | undefinedHashrate log grouped by miner type (groupBy=miner).
isLoadingOptionalboolean | undefined
dateRangeOptionalHashrateDateRange | undefined
onDateRangeChangeOptional((range: HashrateDateRange) => void) | undefined
onResetOptionalVoidFunction | undefined

Usage

Miner-type drilldown tab inside <Hashrate>. Bar chart of the latest hashrate per miner type (Antminer, WhatsMiner, ...), with an optional multi-select filter and a date-range picker that drives the host query.

Example

import { HashrateMinerTypeView } from './miner-type-view'export const HashrateMinerTypeViewExample = () => (  <div className="mdk-example-row">    <HashrateMinerTypeView isLoading={false} log={[]} />  </div>)