コンテンツにスキップ

単位の説明


概要

API 経由で単位を渡す場合の形式は以下のとおりです。

  • 単位形式:custom/["単位タイプ","単位"]。例:custom/["time","ms"]

  • カスタム単位形式:custom/["custom","カスタム単位"]。例:custom/["custom","tt"]

単位タイプ/単位の情報は次のとおりです。

[
    {
        "value": "digital",
        "label": "データサイズ",
        "children": [
            {
                "value": "b",
                "label": "b",
                "__label": "データサイズ / b",
                "__value": "digital,b"
            },
            {
                "value": "Kb",
                "label": "Kb",
                "__label": "データサイズ / Kb",
                "__value": "digital,Kb"
            },
            {
                "value": "Mb",
                "label": "Mb",
                "__label": "データサイズ / Mb",
                "__value": "digital,Mb"
            },
            {
                "value": "Gb",
                "label": "Gb",
                "__label": "データサイズ / Gb",
                "__value": "digital,Gb"
            },
            {
                "value": "Tb",
                "label": "Tb",
                "__label": "データサイズ / Tb",
                "__value": "digital,Tb"
            },
            {
                "value": "Pb",
                "label": "Pb",
                "__label": "データサイズ / Pb",
                "__value": "digital,Pb"
            },
            {
                "value": "Eb",
                "label": "Eb",
                "__label": "データサイズ / Eb",
                "__value": "digital,Eb"
            },
            {
                "value": "Zb",
                "label": "Zb",
                "__label": "データサイズ / Zb",
                "__value": "digital,Zb"
            },
            {
                "value": "Yb",
                "label": "Yb",
                "__label": "データサイズ / Yb",
                "__value": "digital,Yb"
            },
            {
                "value": "B",
                "label": "B",
                "__label": "データサイズ / B",
                "__value": "digital,B"
            },
            {
                "value": "KB",
                "label": "KB",
                "__label": "データサイズ / KB",
                "__value": "digital,KB"
            },
            {
                "value": "MB",
                "label": "MB",
                "__label": "データサイズ / MB",
                "__value": "digital,MB"
            },
            {
                "value": "GB",
                "label": "GB",
                "__label": "データサイズ / GB",
                "__value": "digital,GB"
            },
            {
                "value": "TB",
                "label": "TB",
                "__label": "データサイズ / TB",
                "__value": "digital,TB"
            },
            {
                "value": "PB",
                "label": "PB",
                "__label": "データサイズ / PB",
                "__value": "digital,PB"
            },
            {
                "value": "EB",
                "label": "EB",
                "__label": "データサイズ / EB",
                "__value": "digital,EB"
            },
            {
                "value": "ZB",
                "label": "ZB",
                "__label": "データサイズ / ZB",
                "__value": "digital,ZB"
            },
            {
                "value": "YB",
                "label": "YB",
                "__label": "データサイズ / YB",
                "__value": "digital,YB"
            }
        ]
    },
    {
        "value": "time",
        "label": "時間間隔",
        "children": [
            {
                "value": "ns",
                "label": "ns",
                "__label": "時間間隔 / ns",
                "__value": "time,ns"
            },
            {
                "value": "μs",
                "label": "μs",
                "__label": "時間間隔 / μs",
                "__value": "time,μs"
            },
            {
                "value": "ms",
                "label": "ms",
                "__label": "時間間隔 / ms",
                "__value": "time,ms"
            },
            {
                "value": "s",
                "label": "s",
                "__label": "時間間隔 / s",
                "__value": "time,s"
            },
            {
                "value": "min",
                "label": "min",
                "__label": "時間間隔 / min",
                "__value": "time,min"
            },
            {
                "value": "h",
                "label": "h",
                "__label": "時間間隔 / h",
                "__value": "time,h"
            },
            {
                "value": "d",
                "label": "d",
                "__label": "時間間隔 / d",
                "__value": "time,d"
            },
            {
                "value": "week",
                "label": "week",
                "__label": "時間間隔 / week",
                "__value": "time,week"
            },
            {
                "value": "month",
                "label": "month",
                "__label": "時間間隔 / month",
                "__value": "time,month"
            },
            {
                "value": "year",
                "label": "year",
                "__label": "時間間隔 / year",
                "__value": "time,year"
            }
        ]
    },
    {
        "label": "タイムスタンプ",
        "value": "timeStamp",
        "children": [
            {
                "label": "s",
                "value": "s",
                "__label": "タイムスタンプ / s",
                "__value": "timeStamp,s"
            },
            {
                "label": "ms",
                "value": "ms",
                "__label": "タイムスタンプ / ms",
                "__value": "timeStamp,ms"
            },
            {
                "label": "μs",
                "value": "μs",
                "__label": "タイムスタンプ / μs",
                "__value": "timeStamp,μs"
            },
            {
                "label": "ns",
                "value": "ns",
                "__label": "タイムスタンプ / ns",
                "__value": "timeStamp,ns"
            }
        ]
    },
    {
        "label": "トラフィック",
        "value": "traffic",
        "children": [
            {
                "label": "B/S",
                "value": "B/S",
                "__label": "トラフィック / B/S",
                "__value": "traffic,B/S"
            },
            {
                "label": "KB/S",
                "value": "KB/S",
                "__label": "トラフィック / KB/S",
                "__value": "traffic,KB/S"
            },
            {
                "label": "MB/S",
                "value": "MB/S",
                "__label": "トラフィック / MB/S",
                "__value": "traffic,MB/S"
            },
            {
                "label": "GB/S",
                "value": "GB/S",
                "__label": "トラフィック / GB/S",
                "__value": "traffic,GB/S"
            },
            {
                "label": "TB/S",
                "value": "TB/S",
                "__label": "トラフィック / TB/S",
                "__value": "traffic,TB/S"
            }
        ]
    },
    {
        "label": "帯域幅",
        "value": "bandWidth",
        "children": [
            {
                "label": "bps",
                "value": "bps",
                "__label": "帯域幅 / bps",
                "__value": "bandWidth,bps"
            },
            {
                "label": "Kbps",
                "value": "Kbps",
                "__label": "帯域幅 / Kbps",
                "__value": "bandWidth,Kbps"
            },
            {
                "label": "Mbps",
                "value": "Mbps",
                "__label": "帯域幅 / Mbps",
                "__value": "bandWidth,Mbps"
            },
            {
                "label": "Gbps",
                "value": "Gbps",
                "__label": "帯域幅 / Gbps",
                "__value": "bandWidth,Gbps"
            },
            {
                "label": "Tbps",
                "value": "Tbps",
                "__label": "帯域幅 / Tbps",
                "__value": "bandWidth,Tbps"
            }
        ]
    },
    {
        "value": "percent",
        "label": "パーセント",
        "children": [
            {
                "value": "percent",
                "label": "0 - 100",
                "__label": "パーセント / 0 - 100",
                "__value": "percent,percent"
            },
            {
                "value": "percent_decimal",
                "label": "0.0 - 1.0",
                "__label": "パーセント / 0.0 - 1.0",
                "__value": "percent,percent_decimal"
            }
        ]
    },
    {
        "value": "rmb",
        "label": "人民元",
        "children": [
            {
                "value": "yuan",
                "label": "元",
                "__label": "人民元 / 元",
                "__value": "rmb,yuan"
            },
            {
                "value": "wan_yuan",
                "label": "万",
                "__label": "人民元 / 万",
                "__value": "rmb,wan_yuan"
            },
            {
                "value": "yi_yuan",
                "label": "億",
                "__label": "人民元 / 億",
                "__value": "rmb,yi_yuan"
            }
        ]
    },
    {
        "value": "currencySymbol",
        "label": "通貨",
        "children": [
            {
                "value": "cny",
                "label": "人民元 (¥)",
                "__label": "通貨 / 人民元 (¥)",
                "__value": "currencySymbol,cny"
            },
            {
                "value": "usd",
                "label": "米ドル ($)",
                "__label": "通貨 / 米ドル ($)",
                "__value": "currencySymbol,usd"
            },
            {
                "value": "eur",
                "label": "ユーロ (€)",
                "__label": "通貨 / ユーロ (€)",
                "__value": "currencySymbol,eur"
            },
            {
                "value": "gbp",
                "label": "英ポンド (£)",
                "__label": "通貨 / 英ポンド (£)",
                "__value": "currencySymbol,gbp"
            },
            {
                "value": "rub",
                "label": "ルーブル (₽)",
                "__label": "通貨 / ルーブル (₽)",
                "__value": "currencySymbol,rub"
            }
        ]
    },
    {
        "value": "frequency",
        "label": "周波数",
        "children": [
            {
                "value": "mHz",
                "label": "mHz",
                "__label": "周波数 / mHz",
                "__value": "frequency,mHz"
            },
            {
                "value": "Hz",
                "label": "Hz",
                "__label": "周波数 / Hz",
                "__value": "frequency,Hz"
            },
            {
                "value": "kHz",
                "label": "kHz",
                "__label": "周波数 / kHz",
                "__value": "frequency,kHz"
            },
            {
                "value": "MHz",
                "label": "MHz",
                "__label": "周波数 / MHz",
                "__value": "frequency,MHz"
            },
            {
                "value": "GHz",
                "label": "GHz",
                "__label": "周波数 / GHz",
                "__value": "frequency,GHz"
            },
            {
                "value": "THz",
                "label": "THz",
                "__label": "周波数 / THz",
                "__value": "frequency,THz"
            },
            {
                "value": "rpm",
                "label": "rpm",
                "__label": "周波数 / rpm",
                "__value": "frequency,rpm"
            },
            {
                "value": "deg/s",
                "label": "deg/s",
                "__label": "周波数 / deg/s",
                "__value": "frequency,deg/s"
            },
            {
                "value": "rad/s",
                "label": "rad/s",
                "__label": "周波数 / rad/s",
                "__value": "frequency,rad/s"
            }
        ]
    },
    {
        "value": "length",
        "label": "長さ",
        "children": [
            {
                "value": "mm",
                "label": "mm",
                "__label": "長さ / mm",
                "__value": "length,mm"
            },
            {
                "value": "cm",
                "label": "cm",
                "__label": "長さ / cm",
                "__value": "length,cm"
            },
            {
                "value": "m",
                "label": "m",
                "__label": "長さ / m",
                "__value": "length,m"
            },
            {
                "value": "km",
                "label": "km",
                "__label": "長さ / km",
                "__value": "length,km"
            },
            {
                "value": "in",
                "label": "in",
                "__label": "長さ / in",
                "__value": "length,in"
            },
            {
                "value": "yd",
                "label": "yd",
                "__label": "長さ / yd",
                "__value": "length,yd"
            },
            {
                "value": "ft-us",
                "label": "ft-us",
                "__label": "長さ / ft-us",
                "__value": "length,ft-us"
            },
            {
                "value": "ft",
                "label": "ft",
                "__label": "長さ / ft",
                "__value": "length,ft"
            },
            {
                "value": "mi",
                "label": "mi",
                "__label": "長さ / mi",
                "__value": "length,mi"
            }
        ]
    },
    {
        "value": "angle",
        "label": "角度",
        "children": [
            {
                "value": "rad",
                "label": "rad",
                "__label": "角度 / rad",
                "__value": "angle,rad"
            },
            {
                "value": "deg",
                "label": "deg",
                "__label": "角度 / deg",
                "__value": "angle,deg"
            },
            {
                "value": "grad",
                "label": "grad",
                "__label": "角度 / grad",
                "__value": "angle,grad"
            },
            {
                "value": "arcmin",
                "label": "arcmin",
                "__label": "角度 / arcmin",
                "__value": "angle,arcmin"
            },
            {
                "value": "arcsec",
                "label": "arcsec",
                "__label": "角度 / arcsec",
                "__value": "angle,arcsec"
            }
        ]
    },
    {
        "value": "mass",
        "label": "重量",
        "children": [
            {
                "value": "mcg",
                "label": "mcg",
                "__label": "重量 / mcg",
                "__value": "mass,mcg"
            },
            {
                "value": "mg",
                "label": "mg",
                "__label": "重量 / mg",
                "__value": "mass,mg"
            },
            {
                "value": "g",
                "label": "g",
                "__label": "重量 / g",
                "__value": "mass,g"
            },
            {
                "value": "kg",
                "label": "kg",
                "__label": "重量 / kg",
                "__value": "mass,kg"
            },
            {
                "value": "mt",
                "label": "mt",
                "__label": "重量 / mt",
                "__value": "mass,mt"
            },
            {
                "value": "oz",
                "label": "oz",
                "__label": "重量 / oz",
                "__value": "mass,oz"
            },
            {
                "value": "lb",
                "label": "lb",
                "__label": "重量 / lb",
                "__value": "mass,lb"
            },
            {
                "value": "t",
                "label": "t",
                "__label": "重量 / t",
                "__value": "mass,t"
            }
        ]
    },
    {
        "label": "数値",
        "value": "number",
        "children": [
            {
                "label": "万進法",
                "value": "default",
                "__label": "数値 / 万進法",
                "__value": "number,default"
            },
            {
                "label": "短スケール",
                "value": "short_scale",
                "__label": "数値 / 短スケール",
                "__value": "number,short_scale"
            }
        ]
    },
    {
        "value": "speed",
        "label": "速度",
        "children": [
            {
                "value": "m/s",
                "label": "m/s",
                "__label": "速度 / m/s",
                "__value": "speed,m/s"
            },
            {
                "value": "km/h",
                "label": "km/h",
                "__label": "速度 / km/h",
                "__value": "speed,km/h"
            },
            {
                "value": "m/h",
                "label": "m/h",
                "__label": "速度 / m/h",
                "__value": "speed,m/h"
            },
            {
                "value": "knot",
                "label": "knot",
                "__label": "速度 / knot",
                "__value": "speed,knot"
            },
            {
                "value": "ft/s",
                "label": "ft/s",
                "__label": "速度 / ft/s",
                "__value": "speed,ft/s"
            }
        ]
    },
    {
        "value": "temperature",
        "label": "温度",
        "children": [
            {
                "value": "C",
                "label": "C",
                "__label": "温度 / C",
                "__value": "temperature,C"
            },
            {
                "value": "K",
                "label": "K",
                "__label": "温度 / K",
                "__value": "temperature,K"
            },
            {
                "value": "F",
                "label": "F",
                "__label": "温度 / F",
                "__value": "temperature,F"
            },
            {
                "value": "R",
                "label": "R",
                "__label": "温度 / R",
                "__value": "temperature,R"
            }
        ]
    },
    {
        "value": "throughput",
        "label": "スループット",
        "children": [
            {
                "value": "ops",
                "label": "ops",
                "__label": "スループット / ops",
                "__value": "throughput,ops"
            },
            {
                "value": "reqps",
                "label": "reqps",
                "__label": "スループット / reqps",
                "__value": "throughput,reqps"
            },
            {
                "value": "readps",
                "label": "readps",
                "__label": "スループット / readps",
                "__value": "throughput,readps"
            },
            {
                "value": "wps",
                "label": "wps",
                "__label": "スループット / wps",
                "__value": "throughput,wps"
            },
            {
                "value": "iops",
                "label": "iops",
                "__label": "スループット / iops",
                "__value": "throughput,iops"
            },
            {
                "value": "opm",
                "label": "opm",
                "__label": "スループット / opm",
                "__value": "throughput,opm"
            },
            {
                "value": "readpm",
                "label": "readpm",
                "__label": "スループット / readpm",
                "__value": "throughput,readpm"
            },
            {
                "value": "wpm",
                "label": "wpm",
                "__label": "スループット / wpm",
                "__value": "throughput,wpm"
            }
        ]
    },
    {
        "value": "custom",
        "label": "カスタム",
        "__label": "カスタム",
        "__value": "custom"
    }
]

フィードバック

このページは役に立ちましたか?