説明
例
例: 次を作成: GenericDataSeriesAxis | |
{import * from CURL.GUI.CHARTS} {import * from CHARTS-DOC, location = "../docstring-support/gui/charts-doc.scurl" } {LayeredChart width = 15cm, height = 6cm, bottom-axis = {GenericDataSeriesAxis {ChartDataSeries sample-records, "Name"} }, {LineLayer sample-records, "Age", "Points" } } |
新しい GenericDataSeriesAxis を作成します。 |
この軸に関する序数値。 |
この軸に沿った主目盛りを表すのに必要なすべての |
この軸に沿った補助目盛りを表すのに必要なすべての |
この軸に沿ったゼロに対応する空間位置を取得します。 |
データ値に対応する空間位置を計算します。 |
この軸に沿った位置に対応するデータ値を計算します。 |
監視対象のオブジェクトがメッセージを送信するときにこのメソッドを呼び出します。Observer はこのメソッドを実装して、変更が発生したときに処理を実行する必要があります。 |
新しい GenericDataSeriesAxis を作成します。
例
この軸に関する序数値。
説明
注意事項
説明
例
例: 次の中での値の順序の変更 GenericDataSeriesAxis | |
{import * from CURL.GUI.CHARTS} {import * from CHARTS-DOC, location = "../docstring-support/gui/charts-doc.scurl" } {define-class package final SortingGenericDataSeriesAxis {inherits GenericDataSeriesAxis} {constructor package {default label-group:ChartLabelGroup = {ChartLabelGroup}, axis-group:Shape = {ShapeGroup}, axis-line-group:Shape = {ShapeGroup}, major-tick-group:Shape = {ShapeGroup}, minor-tick-group:Shape = {ShapeGroup}, ... } {construct-super label-group = label-group, axis-group = axis-group, axis-line-group = axis-line-group, major-tick-group = major-tick-group, minor-tick-group = minor-tick-group, ... } } {method protected {compute-values}:void {super.compute-values} {self.values.sort comparison-proc = {proc {a:any, b:any}:bool let constant a-str:String = a asa String {return {a-str.compare b asa String} <= 0} } } } } {LayeredChart width = 15cm, height = 6cm, bottom-axis = {SortingGenericDataSeriesAxis {ChartDataSeries sample-records, "Name"} }, {LineLayer sample-records, "Age", "Points" } } |
この軸に沿った主目盛りを表すのに必要なすべての
説明
この軸に沿った補助目盛りを表すのに必要なすべての
説明
この軸に沿ったゼロに対応する空間位置を取得します。
説明
注意事項
データ値に対応する空間位置を計算します。
戻り値
説明
この軸に沿った位置に対応するデータ値を計算します。
戻り値
説明
監視対象のオブジェクトがメッセージを送信するときにこのメソッドを呼び出します。Observer はこのメソッドを実装して、変更が発生したときに処理を実行する必要があります。