ARIA · table fallback접근성
Canvas ARIA 메타데이터에 텍스트 요약과 표 대체 표현을 함께 제공합니다.
Graflume · Alpha
세 비음수 성분의 상대 비율을 삼각 좌표 안의 위치로 비교합니다. Graflume 공개 카탈로그에 등록된 이 계열의 모든 실행 모드입니다. 각 탭은 독립 데이터, 옵션, Quick API와 지원 기능 근거를 가집니다.
차트 계열 · 고급 차트 계열
세 비음수 성분의 상대 비율을 삼각 좌표 안의 위치로 비교합니다.
ternary()graflume/completeternary차트 고유 기능
Graflume 공개 카탈로그에 등록된 이 계열의 모든 실행 모드입니다. 각 탭은 독립 데이터, 옵션, Quick API와 지원 기능 근거를 가집니다.
Ternary chart 모드가 실행 가능한 데이터와 옵션으로 보여주는 핵심 기능: nonnegative component normalization · barycentric mapping.
상태불러오는 중
ternarynonnegative component normalizationbarycentric mappinggrid and labelsscatter and line/closed pathconstant-sum validation policyraw and normalized tooltipcomponent ticks and formatting불러오는 중
행 데이터와 zero-copy TypedArray 열은 하나의 데이터 계약을 공유합니다.
aquantitative | bquantitative | cquantitative | seriesordinal |
|---|---|---|---|
| 70 | 18 | 12 | Balanced blend |
| 65.5 | 25.53 | 8.97 | Balanced blend |
| 61 | 30.12 | 8.88 | Balanced blend |
| 56.5 | 30.28 | 13.22 | Balanced blend |
| 52 | 26.73 | 21.27 | Balanced blend |
| 47.5 | 22.02 | 30.48 | Balanced blend |
| 43 | 19.28 | 37.72 | Balanced blend |
| 38.5 | 20.68 | 40.82 | Balanced blend |
| 34 | 26.3 | 39.7 | Balanced blend |
| 29.5 | 34.16 | 36.34 | Balanced blend |
| 25 | 41.14 | 33.86 | Balanced blend |
| 20.5 | 44.58 | 34.92 | Balanced blend |
브라우저 API
const data = [
{
"a": 70,
"b": 18,
"c": 12,
"series": "Balanced blend"
},
{
"a": 65.5,
"b": 25.53,
"c": 8.97,
"series": "Balanced blend"
},
{
"a": 61,
"b": 30.12,
"c": 8.88,
"series": "Balanced blend"
},
{
"a": 56.5,
"b": 30.28,
"c": 13.22,
"series": "Balanced blend"
},
{
"a": 52,
"b": 26.73,
"c": 21.27,
"series": "Balanced blend"
},
{
"a": 47.5,
"b": 22.02,
"c": 30.48,
"series": "Balanced blend"
},
{
"a": 43,
"b": 19.28,
"c": 37.72,
"series": "Balanced blend"
},
{
"a": 38.5,
"b": 20.68,
"c": 40.82,
"series": "Balanced blend"
},
{
"a": 34,
"b": 26.3,
"c": 39.7,
"series": "Balanced blend"
},
{
"a": 29.5,
"b": 34.16,
"c": 36.34,
"series": "Balanced blend"
},
{
"a": 25,
"b": 41.14,
"c": 33.86,
"series": "Balanced blend"
},
{
"a": 20.5,
"b": 44.58,
"c": 34.92,
"series": "Balanced blend"
}
];
const options = {
"accessibility": {
"description": "확대·이동은 화면을 살펴보기 위한 기능이며 데이터 축이나 값은 바꾸지 않습니다. 재생 조작이 보이는 차트에서는 원본 데이터에서 고유값이 처음 등장한 순서대로 실제 단계만 이동합니다.",
"label": "Ternary example"
},
"axes": {
"x": false,
"y": false
},
"height": 620,
"interaction": {
"controls": {
"annotations": false,
"export": true,
"fullscreen": true,
"labels": {
"controls": "차트 조작",
"enterFullscreen": "전체 화면 열기",
"exitFullscreen": "전체 화면 닫기",
"exportPng": "PNG 다운로드",
"hideAnnotations": "설명 말풍선 숨기기",
"loop": "반복 재생",
"nextFrame": "다음 프레임",
"pause": "일시 정지",
"play": "재생",
"previousFrame": "이전 프레임",
"reset": "보기 초기화",
"seek": "재생 위치",
"showAnnotations": "설명 말풍선 표시",
"speed": "재생 속도",
"zoomIn": "확대",
"zoomOut": "축소"
},
"playback": false,
"reset": true,
"zoom": true
},
"hover": true,
"navigation": {
"drag": true,
"keyboard": true,
"maxZoom": 6,
"minZoom": 1,
"pinch": true,
"wheel": "modifier"
},
"tooltip": {
"fields": [
{
"field": "a",
"format": "number",
"label": "A"
},
{
"field": "b",
"format": "number",
"label": "B"
},
{
"field": "c",
"format": "number",
"label": "C"
},
{
"field": "series",
"format": "auto",
"label": "계열"
}
],
"title": "Ternary",
"trigger": "mark"
}
},
"locale": "ko",
"mark": {
"fields": {
"c": "c",
"series": "series"
},
"options": {
"mode": "line"
}
},
"padding": {
"top": 52
},
"theme": "graflume-light",
"title": {
"subtitle": "Ternary chart 모드가 실행 가능한 데이터와 옵션으로 보여주는 핵심 기능: nonnegative component normalization · barycentric mapping.",
"text": "Ternary"
},
"width": "container",
"x": {
"field": "a",
"title": "Component A (%)",
"type": "quantitative"
},
"y": {
"field": "b",
"title": "Component B (%)",
"type": "quantitative"
}
};
Graflume.ternary('#chart', data, options);이식 가능한 스키마
{
"accessibility": {
"description": "확대·이동은 화면을 살펴보기 위한 기능이며 데이터 축이나 값은 바꾸지 않습니다. 재생 조작이 보이는 차트에서는 원본 데이터에서 고유값이 처음 등장한 순서대로 실제 단계만 이동합니다.",
"label": "Ternary example"
},
"axes": {
"x": false,
"y": false
},
"height": 620,
"interaction": {
"controls": {
"annotations": false,
"export": true,
"fullscreen": true,
"labels": {
"controls": "차트 조작",
"enterFullscreen": "전체 화면 열기",
"exitFullscreen": "전체 화면 닫기",
"exportPng": "PNG 다운로드",
"hideAnnotations": "설명 말풍선 숨기기",
"loop": "반복 재생",
"nextFrame": "다음 프레임",
"pause": "일시 정지",
"play": "재생",
"previousFrame": "이전 프레임",
"reset": "보기 초기화",
"seek": "재생 위치",
"showAnnotations": "설명 말풍선 표시",
"speed": "재생 속도",
"zoomIn": "확대",
"zoomOut": "축소"
},
"playback": false,
"reset": true,
"zoom": true
},
"hover": true,
"navigation": {
"drag": true,
"keyboard": true,
"maxZoom": 6,
"minZoom": 1,
"pinch": true,
"wheel": "modifier"
},
"tooltip": {
"fields": [
{
"field": "a",
"format": "number",
"label": "A"
},
{
"field": "b",
"format": "number",
"label": "B"
},
{
"field": "c",
"format": "number",
"label": "C"
},
{
"field": "series",
"format": "auto",
"label": "계열"
}
],
"title": "Ternary",
"trigger": "mark"
}
},
"locale": "ko",
"mark": {
"fields": {
"c": "c",
"series": "series"
},
"options": {
"mode": "line"
}
},
"padding": {
"top": 52
},
"theme": "graflume-light",
"title": {
"subtitle": "Ternary chart 모드가 실행 가능한 데이터와 옵션으로 보여주는 핵심 기능: nonnegative component normalization · barycentric mapping.",
"text": "Ternary"
},
"width": "container",
"x": {
"field": "a",
"title": "Component A (%)",
"type": "quantitative"
},
"y": {
"field": "b",
"title": "Component B (%)",
"type": "quantitative"
}
}Catalog
The source-controlled catalog maps callable modes in this family and compatibility identifiers to their canonical modes. This table contains executable entries only.
1 modes · 0 compatibility identifiers
| ID | Name | Quick API | mode | mark | renderer |
|---|---|---|---|---|---|
ternary | Ternary chart | ternary() | default | ternary | canvas |
매뉴얼
ARIA · table fallbackCanvas ARIA 메타데이터에 텍스트 요약과 표 대체 표현을 함께 제공합니다.
standard · large · ultrastandard·large·ultra 프로필은 렌더링 작업량을 제한합니다.