#latest #options
#latest
#options
Gantt 차트 고유 옵션입니다.
extend.ontology.xTickInterval
x축의 tick간의 최소 간격을 설정합니다.
extend.gantt.yTickInterval
y축의 tick간의 최소 간격을 설정합니다.
extend.gantt.planHeight
plan을 표시하는 사각형의 높이를 설정합니다.
extend.gantt.planRadius
plan을 표시하는 사각형 모서리의 round를 설정합니다.
const chart = new sb.chart("#chartWrap", { data: { type: "tree", json: [ { name: "Company", children: [ { name: "Sales", children: [ { name: "Domestic Sales", children: [ { name: "Team A" }, { name: "Team B" }, { name: "Team C" } ] }, { name: "International Sales", children: [ { name: "Team D" }, { name: "Team E" } ] } ] }, { name: "Engineering", children: [ { name: "Software", children: [ { name: "Frontend Team" }, { name: "Backend Team" }, { name: "QA Team" } ] }, { name: "Hardware", children: [ { name: "Design Team" }, { name: "Manufacturing Team" } ] } ] }, { name: "HR", children: [ { name: "Recruiting" }, { name: "Benefits" }, { name: "Training" } ] }, { name: "Marketing", children: [ { name: "Product Marketing" }, { name: "Content Team" }, { name: "Social Media Team" }, { name: "Events Team" } ] }, { name: "Finance", children: [ { name: "Accounting" }, { name: "Treasury" }, { name: "Internal Audit" } ] } ] } ] }, extend: { gantt: { xTickInterval: 30, yTickInterval: 40, planHeight: 10, planRadius: 10, } } });