public class Axis extends Object implements Serializable
コンストラクタと説明 |
---|
Axis()
軸に関する情報を設定します。
|
Axis(Number max,
Number min,
Number scale)
軸に関する情報を設定します。
|
Axis(Number max,
Number min,
Number scale,
String format)
軸に関する情報を設定します。
|
修飾子とタイプ | メソッドと説明 |
---|---|
String |
getFormat()
パターン文字列を返却します。
|
Number |
getMax()
軸の最大値を返却します。
|
Number |
getMin()
軸の最小値を返却します。
|
Number |
getScale()
軸に表示する値の目盛り間隔を返却します。
|
void |
setFormat(String format)
パターン文字列を設定します。
|
void |
setMax(Number max)
軸の最大値を設定します。
|
void |
setMin(Number min)
軸の最小値を設定します。
|
void |
setScale(Number scale)
軸に表示する値の目盛り間隔を設定します。
|
public Axis()
public Axis(Number max, Number min, Number scale)
max
- 最大値min
- 最小値scale
- 軸の1目盛りあたり間隔public Axis(Number max, Number min, Number scale, String format)
max
- 最大値min
- 最小値scale
- 軸の1目盛りあたり間隔format
- 軸に表示する値のフォーマットDecimalFormat
public Number getMax()
public void setMax(Number max)
max
- 軸の最大値public Number getMin()
public void setMin(Number min)
min
- 軸の最小値public Number getScale()
public void setScale(Number scale)
scale
- 値の間隔public String getFormat()
DecimalFormat
public void setFormat(String format)
パターン | 説明 |
# | 数字を表します。値が0の場合はその値は表示されません。 |
0 | 数字を表します。値が0の場合はその値には0が表示されます。 |
.(ドット) | 整数値と小数値の区切りを表します。 |
,(カンマ) | 数データのグループセパレータを表します。 |
% | 数データを100倍し、%を付与します。 |
'(シングルクォーテーション) | フォーマット処理時にフォーマットパターンと捉えられたくないパターン記号を'(シングクォーテーション)で囲みます。(例)'#' |
¥ | 通貨記号を表します。 |
DecimalFormat
を参考してください。format
- パターン文字列DecimalFormat
Copyright © 2012 NTT DATA INTRAMART CORPORATION