明示的な範囲に基づく
説明
注意事項
例
例: NumericAxis-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 {NumericAxis-of double}, 0, 70}, {BarLayer {ChartDataSeries sample-records, "Age"}, {ChartDataSeries sample-records, "Points"}, {ChartDataSeries sample-records, "Wins"}, x-axis-data = {ChartDataSeries sample-records, "Name"} } } |
新しい NumericAxis-of を作成します。 |
この軸の最大値。 |
この軸で表示される実際の最大値。 |
この軸の最小値。 |
この軸で表示される実際の最小値。 |
この軸で表示される目盛りの実際の数。 |
この ChartAxis に適切な軸ラベルを生成します。 |
この軸に沿った主目盛りを表すのに必要なすべての |
この軸に沿った補助目盛りを表すのに必要なすべての |
この軸に沿ったゼロに対応する空間位置を取得します。 |
データ値に対応する空間位置を計算します。 |
この軸に沿った位置に対応するデータ値を計算します。 |
この軸に |
この軸の範囲を設定します。 |
新しい NumericAxis-of を作成します。
例
この軸の最大値。
説明
注意事項
この軸で表示される実際の最大値。
説明
この軸の最小値。
説明
注意事項
この軸で表示される実際の最小値。
説明
この軸で表示される目盛りの実際の数。
説明
この ChartAxis に適切な軸ラベルを生成します。
戻り値
説明
注意事項
この軸に沿った主目盛りを表すのに必要なすべての
説明
この軸に沿った補助目盛りを表すのに必要なすべての
説明
戻り値
説明
AxisDataType | value | 記述の種類 |
AxisDataType.data-series | {Array-of ChartDataSeries} | この軸は 1 つ以上の |
AxisDataType.record-field | {Array-of RecordField} | この軸は、1 つ以上の |
AxisDataType.field-name | {Array-of String} | AxisDataType.record-field と非常によく似た方法で、この軸は、名前によってレコードの 1 つ以上のレコード フィールドと関連付けられます。同じ名前のフィールドを使用していれば、データはこの軸に一致します。使用されたフィールド名が配列に返されます。 |
AxisDataType.type | 軸は、一定の Type を計測するものとして自身を定義します。 | |
AxisDataType.record-index | なし (null) | この軸は、データを無視して、 |
この軸に沿ったゼロに対応する空間位置を取得します。
説明
注意事項
データ値に対応する空間位置を計算します。
戻り値
説明
この軸に沿った位置に対応するデータ値を計算します。
戻り値
説明
この軸に
説明
説明
注意事項
例
例: 次の使用: 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 } } } |
この軸の範囲を設定します。
説明