注意事項
例
例: tick-label-rotation の使用 | |
{import * from CURL.GUI.CHARTS} {import * from CHARTS-DOC, location = "../docstring-support/gui/charts-doc.scurl" } {let chart:LayeredChart = {LayeredChart width = 12cm, height = 8cm, flipped? = true, legend-enabled? = false, tick-label-auto-stagger? = false, bottom-axis-parent = {ShapeGroup tick-label-rotation = 35deg}, {ScatterLayer sample-sales-records, "service-revenue", x-axis-data = {ChartDataSeries sample-sales-records, "period"} } } } {AntialiasedFrame chart} {Table columns = 2, {text tick-label-rotation (on bottom axis only):}, {TextField value = "35deg", width = 3cm, {on ValueFinished at tf:TextField do set chart.bottom-axis-parent.tick-label-rotation = {evaluate tf.value} asa Angle } }, {text ChartLabelGroup.stagger-level (on bottom axis):}, {TextField value = "0", {on ValueFinished at tf:TextField do {if-non-null axis = chart.bottom-axis then set axis.label-group.stagger-level = {tf.value.to-int} } } } } |