説明
注意事項
例
例: 手動で NumericDataSeriesAxis-of を作成してのデータ グループ化の制御 | |
{import * from CURL.GUI.CHARTS} {import * from CHARTS-DOC, location = "../docstring-support/gui/charts-doc.scurl" } {LayeredChart width = 15cm, height = 6cm, left-axis = {new {NumericDataSeriesAxis-of double}, {ChartDataSeries sample-records, "Age"} }, right-axis = {new {NumericDataSeriesAxis-of double}, {ChartDataSeries sample-records, "Points"} }, {BarLayer sample-records, "Age", "Points", x-axis-data = {ChartDataSeries sample-records, "Name"} } } |
新しい NumericDataSeriesAxis-of オブジェクトを作成します。 |
この軸で表示される実際の最大値。 |
この軸で表示される実際の最小値。 |
この軸で表示される目盛りの実際の数。 |
この NumericAxisMixin-of の境界および生成される目盛りの数を制御するために使用できるプロシージャ。 |
この軸に沿った主目盛りを表すのに必要なすべての |
この軸に沿った補助目盛りを表すのに必要なすべての |
この軸に沿ったゼロに対応する空間位置を取得します。 |
データ値に対応する空間位置を計算します。 |
この軸に沿った位置に対応するデータ値を計算します。 |
この軸に |
新しい NumericDataSeriesAxis-of オブジェクトを作成します。
例
この軸で表示される実際の最大値。
説明
この軸で表示される実際の最小値。
説明
この軸で表示される目盛りの実際の数。
説明
この軸に沿った主目盛りを表すのに必要なすべての
説明
この軸に沿った補助目盛りを表すのに必要なすべての
説明
この軸に沿ったゼロに対応する空間位置を取得します。
説明
注意事項
データ値に対応する空間位置を計算します。
戻り値
説明
この軸に沿った位置に対応するデータ値を計算します。
戻り値
説明
この軸に
説明
説明
注意事項
例
例: 次の使用: NumericAxisMixin-of.set-forced-range | |
{import * from CURL.GUI.CHARTS} {import * from CHARTS-DOC, location = "../docstring-support/gui/charts-doc.scurl" } {let constant axis:{NumericDataSeriesAxis-of double} = {new {NumericDataSeriesAxis-of double}, {ChartDataSeries sample-records, "Age"}, {ChartDataSeries sample-records, "Points"}, force-zero? = false, force-range? = true, force-range-strict? = false, forced-min = 1.5, forced-max = 7.5 } } {LayeredChart width = 15cm, height = 7cm, left-axis = axis, {LineLayer sample-records, "Age", "Points", x-axis-data = {ChartDataSeries sample-records, "Name"} } } {Table columns = 2, {text forced-min:}, {TextField value = "" & axis.forced-min, {on ValueFinished at tf:TextField do {axis.set-forced-range axis.force-range?, force-range-strict? = axis.force-range-strict?, forced-min = {tf.value.to-double}, forced-max = axis.forced-max } } }, {text forced-max:}, {TextField value = "" & axis.forced-max, {on ValueFinished at tf:TextField do {axis.set-forced-range axis.force-range?, force-range-strict? = axis.force-range-strict?, forced-min = axis.forced-min, forced-max = {tf.value.to-double} } } } } {CheckButton label = "force-range?", value = axis.force-range?, {on ValueFinished at cb:CheckButton do {axis.set-forced-range cb.value, force-range-strict? = axis.force-range-strict?, forced-min = axis.forced-min, forced-max = axis.forced-max } } } {CheckButton label = "force-range-strict?", value = axis.force-range-strict?, {on ValueFinished at cb:CheckButton do {axis.set-forced-range axis.force-range?, force-range-strict? = cb.value, forced-min = axis.forced-min, forced-max = axis.forced-max } } } |