程序包 | 说明 |
---|---|
com.fr.chart.base |
图表的基础类, 包括一些Factory方法, Utils方法, Constants属性, 用到的图片资源 图表多处用到的属性等.
|
com.fr.chart.chartattr | |
com.fr.chart.chartglyph |
图表图形包, 实现图表的画法, 分为图表图像(ChartGlyph)、绘图区图像(PlotGlyph)、图例图像(LegendGlyph)以及标题图像(TitleGlyph)。
|
com.fr.design.chart.series.SeriesCondition | |
com.fr.design.mainframe.chart.gui.style | |
com.fr.plugin.chart.base | |
com.fr.plugin.chart.gantt.attr | |
com.fr.plugin.chart.gauge.glyph | |
com.fr.plugin.chart.glyph | |
com.fr.plugin.chart.scatter |
限定符和类型 | 方法和说明 |
---|---|
TextAttr |
AttrChangeConfig.getStyleAttr() |
TextAttr |
DrillMapTools.getTextAttr() |
TextAttr |
AttrStyle.getTextAttr()
返回标签文本
|
TextAttr |
AttrContents.getTextAttr()
返回标签文本属性
|
限定符和类型 | 方法和说明 |
---|---|
static java.awt.geom.Dimension2D |
GlyphUtils.calculateTextDimensionWithNoRotation(java.lang.String text,
TextAttr textAttr,
int resolution)
计算文本内容在非旋转 (但是包括竖排)所占的高度和宽度
|
static java.awt.geom.Dimension2D |
GlyphUtils.calculateTextDimensionWithRotation(java.lang.String text,
TextAttr textAttr,
int resolution)
根据旋转角度 计算文本的实际矩形
|
static java.lang.String |
ChartBaseUtils.dealLabelStringAutoWrap(java.lang.String labelString,
TextAttr textAttr,
int resolution,
double maxWidth)
将文字根据指定宽度换行,不考虑中英文
|
static void |
GlyphUtils.drawAxisVerticalTitle(java.awt.Graphics g,
java.lang.String text,
TextAttr textAttr,
java.awt.geom.Rectangle2D bounds,
int resolution) |
static void |
GlyphUtils.drawStrings(java.awt.Graphics g,
java.lang.String text,
TextAttr textAttr,
java.awt.geom.Rectangle2D bounds,
int resolution)
画出文本字符串, 包括三种情况: 旋转, 竖排, 正常.
|
void |
AttrChangeConfig.setStyleAttr(TextAttr styleAttr) |
void |
DrillMapTools.setTextAttr(TextAttr textAttr) |
void |
AttrContents.setTextAttr(TextAttr textAttr)
设置标签文本属性
|
static java.awt.Image |
ChartUtils.string2Image(java.lang.String string,
TextAttr textAttr)
字符 按照文本属性转为图片.
|
限定符和类型 | 字段和说明 |
---|---|
TextAttr |
AxisData.textAttr
文本属性
|
限定符和类型 | 方法和说明 |
---|---|
TextAttr |
Plot.getCategoryNameTextAttr()
得到分类名称字体设置
|
TextAttr |
MeterPlot.getCategoryNameTextAttr()
得到分类名称字体设置
|
TextAttr |
Title.getTextAttr()
返回标题 文本属性
|
TextAttr |
Axis.getTextAttr()
返回文本属性
|
TextAttr |
Plot.getUnitTextAttr()
得到单位的字体设置
|
TextAttr |
MeterPlot.getUnitTextAttr()
得到单位的字体设置
|
TextAttr |
Plot.getValueTextAttr()
得到值的字体设置
|
TextAttr |
MeterPlot.getValueTextAttr()
得到值的字体设置
|
限定符和类型 | 方法和说明 |
---|---|
void |
Plot.setCategoryNameTextAttr(TextAttr attr) |
void |
MeterPlot.setCategoryNameTextAttr(TextAttr attr) |
void |
Title.setTextAttr(TextAttr textAttr) |
void |
Axis.setTextAttr(TextAttr textAttr)
设置文本属性
|
void |
Plot.setUnitTextAttr(TextAttr attr) |
void |
MeterPlot.setUnitTextAttr(TextAttr attr) |
void |
Plot.setValueTextAttr(TextAttr attr) |
void |
MeterPlot.setValueTextAttr(TextAttr attr) |
限定符和类型 | 字段和说明 |
---|---|
protected TextAttr |
TextGlyph.textAttr |
protected TextAttr |
AxisGlyph.textAttr
文本属性
|
限定符和类型 | 方法和说明 |
---|---|
protected TextAttr |
DataSheetGlyph.getCateTextAttr() |
TextAttr |
TextGlyph.getTextAttr()
获取要画的文字的属性,包括文本的字体、旋转度和对齐方式等
|
TextAttr |
DataPointLabelInfo.getTextAttr()
返回条件内容的文本属性
|
TextAttr |
AxisGlyph.getTextAttr()
返回标签文本格式
|
TextAttr |
MeterStyle.getTitleTextAttr()
设置仪表盘的文本属性
|
TextAttr |
MeterStyle.getUnitTextAttr()
得到单位的字体设置
|
TextAttr |
MeterStyle.getValueTextAttr()
得到值的字体设置
|
限定符和类型 | 方法和说明 |
---|---|
protected java.lang.String |
TitleGlyph.dealStringAutoWrap(java.lang.String labelString,
TextAttr textAttr,
int resolution,
double maxWidth) |
protected int |
DataSheetGlyph.getCharNumber(TextAttr textAttr,
int maxWidth,
int resolution) |
void |
TextGlyph.setTextAttr(TextAttr textAttr)
设置要画的文字的属性
|
void |
DataPointLabelInfo.setTextAttr(TextAttr textAttr)
设置条件内容的文本属性
|
void |
AxisGlyph.setTextAttr(TextAttr textAttr)
设置标签文本格式
|
void |
MeterStyle.setTitleTextAttr(TextAttr titleTextAttr)
设置仪表盘标题的文本属性
|
void |
MeterStyle.setUnitTextAttr(TextAttr attr) |
void |
MeterStyle.setValueTextAttr(TextAttr attr) |
构造器和说明 |
---|
HeatMapControlBar(java.awt.geom.Rectangle2D bounds,
int position,
MapHotAreaColor mapHotAreaColor,
int resolution,
TextAttr textAttr) |
TextGlyph(java.lang.String title,
TextAttr textAttr) |
TitleGlyph(java.lang.String text4Glyph,
TextAttr textAttr) |
限定符和类型 | 方法和说明 |
---|---|
void |
DataLabelStylePane.populate(TextAttr textAttr) |
void |
DataLabelStylePane.update(TextAttr textAttr) |
限定符和类型 | 方法和说明 |
---|---|
TextAttr |
ChartTextAttrPane.update() |
限定符和类型 | 方法和说明 |
---|---|
void |
ChartTextAttrPane.populate(TextAttr textAttr) |
void |
ChartTextAttrPane.update(TextAttr textAttr) |
限定符和类型 | 方法和说明 |
---|---|
TextAttr |
AttrTooltip.getTextAttr() |
TextAttr |
AttrLabelDetail.getTextAttr() |
TextAttr |
AttrLabel.getTextAttr() |
限定符和类型 | 方法和说明 |
---|---|
void |
AttrTooltip.setTextAttr(TextAttr textAttr) |
void |
AttrLabelDetail.setTextAttr(TextAttr textAttr) |
限定符和类型 | 方法和说明 |
---|---|
TextAttr |
GanttAxisStyleAttr.getTextAttr() |
限定符和类型 | 方法和说明 |
---|---|
void |
GanttAxisStyleAttr.setTextAttr(TextAttr textAttr) |
限定符和类型 | 方法和说明 |
---|---|
static void |
GaugeGlyphHelper.drawMultiLineText(java.awt.Graphics g,
java.lang.String text,
TextAttr textAttr,
java.awt.geom.Rectangle2D labelBounds,
int resolution) |
static void |
GaugeGlyphHelper.drawStrings(java.awt.Graphics g,
java.lang.String text,
TextAttr textAttr,
java.awt.geom.Rectangle2D bounds,
int resolution) |
protected void |
SlotGaugeGlyph.setCateOrPercentLabelAutoFont(TextAttr textAttr) |
protected void |
RingGaugeGlyph.setCateOrPercentLabelAutoFont(TextAttr textAttr) |
protected void |
GaugeGlyph.setCateOrPercentLabelAutoFont(TextAttr textAttr) |
构造器和说明 |
---|
VanChartTitleGlyph(java.lang.String text4Glyph,
TextAttr textAttr) |
限定符和类型 | 方法和说明 |
---|---|
protected void |
VanChartScatterDataPoint.drawTextWithFont(java.lang.String showText,
TextAttr textAttr,
java.lang.String drawText,
FRFont drawFont,
java.awt.Graphics g,
int resolution) |