public class ChartFrame
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
Area |
getArea()
Gets the
Area. |
boolean |
getAutoScaleFont()
True if the text in the object changes font size when the object size changes.
|
int |
getBackground()
Deprecated.
Use ChartFrame.BackgroundMode property instead.
|
int |
getBackgroundMode()
Gets the display mode of the background
|
Line |
getBorder()
Gets the
Line. |
Chart |
getChart()
Gets the chart to which this object belongs.
|
int |
getDefaultHeight()
Deprecated.
Use ChartFrame.DefaultHeightRatioToChart property, instead.
|
double |
getDefaultHeightRatioToChart()
Represents height of default position in units of Fraction of the chart area.
|
int |
getDefaultWidth()
Deprecated.
Use ChartFrame.DefaultWidthRatioToChart property, instead.
|
double |
getDefaultWidthRatioToChart()
Represents width of default position in units of Fraction of the chart area.
|
int |
getDefaultX()
Deprecated.
Use ChartFrame.DefaultXRatioToChart property, instead.
|
double |
getDefaultXRatioToChart()
Represents x of default position in units of Fraction of the chart area.
|
int |
getDefaultY()
Deprecated.
Use ChartFrame.DefaultYRatioToChart property, instead.
|
double |
getDefaultYRatioToChart()
Represents y of default position in units of Fraction of the chart area.
|
Font |
getFont()
Gets a
ChartArea.getFont() object of the specified ChartFrame object. |
int |
getHeight()
Deprecated.
Use ChartFrame.HeightRatioToChart property, instead.
|
int |
getHeightPixel()
Gets the height of frame in units of Pixel.
|
double |
getHeightRatioToChart()
Gets the height of frame in units of ratio of the chart area.
|
boolean |
getShadow()
True if the frame has a shadow.
|
ShapePropertyCollection |
getShapeProperties()
Gets the
getShapeProperties() object. |
Font |
getTextFont()
Deprecated.
Use ChartFrame.Font property instead.
|
TextOptions |
getTextOptions()
Gets the options of the text.
|
int |
getWidth()
Deprecated.
Use ChartFrame.WidthRatioToChart property, instead.
|
int |
getWidthPixel()
Gets the width of frame in units of Pixel.
|
double |
getWidthRatioToChart()
Gets the width of frame in units of ratio of the chart area.
|
int |
getX()
Deprecated.
Use ChartFrame.XRatioToChart property, instead.
|
int |
getXPixel()
Gets the x coordinate of the upper left corner in units of Pixel.
|
double |
getXRatioToChart()
Gets the x coordinate of the upper left corner in units of ratio of the chart area.
|
int |
getY()
Deprecated.
Use ChartFrame.YRatioToChart property, instead.
|
int |
getYPixel()
Gets the y coordinate of the upper left corner in units of Pixel.
|
double |
getYRatioToChart()
Gets the y coordinate of the upper left corner in units of ratio of the chart area.
|
boolean |
isAutomaticSize()
Indicates whether the chart frame is automatic sized.
|
boolean |
isDefaultPosBeSet()
Indicates whether default position(DefaultX, DefaultY, DefaultWidth and DefaultHeight) are set.
|
boolean |
isInnerMode()
Indicates whether the size of the plot area size includes the tick marks, and the axis labels.
|
void |
setAutomaticSize(boolean value)
Indicates whether the chart frame is automatic sized.
|
void |
setAutoScaleFont(boolean value)
True if the text in the object changes font size when the object size changes.
|
void |
setBackground(int value)
Deprecated.
Use ChartFrame.BackgroundMode property instead.
|
void |
setBackgroundMode(int value)
Sets the display mode of the background
|
void |
setHeight(int value)
Deprecated.
Use ChartFrame.HeightRatioToChart property, instead.
|
void |
setHeightPixel(int value)
Sets the height of frame in units of Pixel.
|
void |
setHeightRatioToChart(double value)
Sets the height of frame in units of ratio of the chart area.
|
void |
setInnerMode(boolean value)
Indicates whether the size of the plot area size includes the tick marks, and the axis labels.
|
void |
setPositionAuto()
Set position of the frame to automatic
|
void |
setShadow(boolean value)
True if the frame has a shadow.
|
void |
setWidth(int value)
Deprecated.
Use ChartFrame.WidthRatioToChart property, instead.
|
void |
setWidthPixel(int value)
Sets the width of frame in units of Pixel.
|
void |
setWidthRatioToChart(double value)
Sets the width of frame in units of ratio of the chart area.
|
void |
setX(int value)
Deprecated.
Use ChartFrame.XRatioToChart property, instead.
|
void |
setXPixel(int value)
Sets the x coordinate of the upper left corner in units of Pixel.
|
void |
setXRatioToChart(double value)
Sets the x coordinate of the upper left corner in units of ratio of the chart area.
|
void |
setY(int value)
Deprecated.
Use ChartFrame.YRatioToChart property, instead.
|
void |
setYPixel(int value)
Sets the y coordinate of the upper left corner in units of Pixel.
|
void |
setYRatioToChart(double value)
Sets the y coordinate of the upper left corner in units of ratio of the chart area.
|
public boolean isInnerMode()
Remarks
Only for Xlsx file.public void setInnerMode(boolean value)
Remarks
Only for Xlsx file.public Chart getChart()
public Font getTextFont()
ChartArea.getFont() object of the specified ChartFrame object.
Remarks
NOTE: This member is now obsolete. Instead, please use ChartFrame.Font property. This property will be removed 12 months later since JANUARY 2012. Aspose apologizes for any inconvenience you may have experienced.public TextOptions getTextOptions()
public Font getFont()
ChartArea.getFont() object of the specified ChartFrame object.public boolean getAutoScaleFont()
public void setAutoScaleFont(boolean value)
public int getBackgroundMode()
See BackgroundMode.
public void setBackgroundMode(int value)
See BackgroundMode.
public int getBackground()
See BackgroundMode.
Remarks
NOTE: This member is now obsolete. Instead, please use ChartFrame.BackgroundMode property. This property will be removed 12 months later since JANUARY 2012. Aspose apologizes for any inconvenience you may have experienced.public void setBackground(int value)
See BackgroundMode.
Remarks
NOTE: This member is now obsolete. Instead, please use ChartFrame.BackgroundMode property. This property will be removed 12 months later since JANUARY 2012. Aspose apologizes for any inconvenience you may have experienced.public boolean isAutomaticSize()
public void setAutomaticSize(boolean value)
public int getX()
Remarks
NOTE: This member is now obsolete. Please use ChartFrame.XRatioToChart property, instead. X = XRatioToChart * 4000. This property will be removed 12 months later since February 2025. Aspose apologizes for any inconvenience you may have experienced.public void setX(int value)
Remarks
NOTE: This member is now obsolete. Please use ChartFrame.XRatioToChart property, instead. X = XRatioToChart * 4000. This property will be removed 12 months later since February 2025. Aspose apologizes for any inconvenience you may have experienced.public int getY()
Remarks
NOTE: This member is now obsolete. Please use ChartFrame.YRatioToChart property, instead. Y = YRatioToChart * 4000. This property will be removed 12 months later since February 2025. Aspose apologizes for any inconvenience you may have experienced.public void setY(int value)
Remarks
NOTE: This member is now obsolete. Please use ChartFrame.YRatioToChart property, instead. Y = YRatioToChart * 4000. This property will be removed 12 months later since February 2025. Aspose apologizes for any inconvenience you may have experienced.public int getHeight()
Remarks
NOTE: This member is now obsolete. Please use ChartFrame.HeightRatioToChart property, instead. Height = HeightRatioToChart * 4000. This property will be removed 12 months later since February 2025. Aspose apologizes for any inconvenience you may have experienced.public void setHeight(int value)
Remarks
NOTE: This member is now obsolete. Please use ChartFrame.HeightRatioToChart property, instead. Height = HeightRatioToChart * 4000. This property will be removed 12 months later since February 2025. Aspose apologizes for any inconvenience you may have experienced.public int getWidth()
Remarks
NOTE: This member is now obsolete. Please use ChartFrame.WidthRatioToChart property, instead. Width = WidthRatioToChart * 4000; This property will be removed 12 months later since February 2025. Aspose apologizes for any inconvenience you may have experienced.public void setWidth(int value)
Remarks
NOTE: This member is now obsolete. Please use ChartFrame.WidthRatioToChart property, instead. Width = WidthRatioToChart * 4000; This property will be removed 12 months later since February 2025. Aspose apologizes for any inconvenience you may have experienced.public boolean getShadow()
public void setShadow(boolean value)
public ShapePropertyCollection getShapeProperties()
getShapeProperties() object.public boolean isDefaultPosBeSet()
public int getDefaultX()
Remarks
NOTE: This member is now obsolete. Please use ChartFrame.DefaultXRatioToChart property, instead. DefaultX = (int)(DefaultXRatioToChart * 4000); This property will be removed 12 months later since February 2025. Aspose apologizes for any inconvenience you may have experienced.public int getDefaultY()
Remarks
NOTE: This member is now obsolete. Please use ChartFrame.DefaultYRatioToChart property, instead. DefaultY = (int)(DefaultYRatioToChart * 4000); This property will be removed 12 months later since February 2025. Aspose apologizes for any inconvenience you may have experienced.public int getDefaultWidth()
Remarks
NOTE: This member is now obsolete. Please use ChartFrame.DefaultWidthRatioToChart property, instead. DefaultWidth = (int)(DefaultWidthRatioToChart * 4000); This property will be removed 12 months later since February 2025. Aspose apologizes for any inconvenience you may have experienced.public int getDefaultHeight()
Remarks
NOTE: This member is now obsolete. Please use ChartFrame.DefaultHeightRatioToChart property, instead. DefaultHeight = (int)(DefaultHeightRatioToChart * 4000); This property will be removed 12 months later since February 2025. Aspose apologizes for any inconvenience you may have experienced.public double getDefaultXRatioToChart()
public double getDefaultYRatioToChart()
public double getDefaultWidthRatioToChart()
public double getDefaultHeightRatioToChart()
public double getXRatioToChart()
Remarks
This is a fraction value, its valid range is between 0-1. How to convert units of ratio to pixels? XPixel = XRatioToChart * Chart.ChartObject.Width;public void setXRatioToChart(double value)
Remarks
This is a fraction value, its valid range is between 0-1. How to convert units of ratio to pixels? XPixel = XRatioToChart * Chart.ChartObject.Width;public double getYRatioToChart()
Remarks
This is a fraction value, its valid range is between 0-1. How to convert units of ratio to pixels? YPixel = YRatioToChart * Chart.ChartObject.Height;public void setYRatioToChart(double value)
Remarks
This is a fraction value, its valid range is between 0-1. How to convert units of ratio to pixels? YPixel = YRatioToChart * Chart.ChartObject.Height;public double getWidthRatioToChart()
Remarks
This is a fraction value, its valid range is between 0-1. How to convert units of ratio to pixels? WidthPixel = WidthRatioToChart * Chart.ChartObject.Width;public void setWidthRatioToChart(double value)
Remarks
This is a fraction value, its valid range is between 0-1. How to convert units of ratio to pixels? WidthPixel = WidthRatioToChart * Chart.ChartObject.Width;public double getHeightRatioToChart()
Remarks
This is a fraction value, its valid range is between 0-1. How to convert units of ratio to pixels? HeightPixel = HeightRatioToChart * Chart.ChartObject.Height;public void setHeightRatioToChart(double value)
Remarks
This is a fraction value, its valid range is between 0-1. How to convert units of ratio to pixels? HeightPixel = HeightRatioToChart * Chart.ChartObject.Height;public int getXPixel()
public void setXPixel(int value)
public int getYPixel()
public void setYPixel(int value)
public int getWidthPixel()
public void setWidthPixel(int value)
public int getHeightPixel()
public void setHeightPixel(int value)
public void setPositionAuto()
See Also:
Aspose.Cells Documentation - the home page for the Aspose.Cells Product Documentation.
Aspose.Cells Support Forum - our preferred method of support.
We guarantee a prompt response to any inquiry!
© Aspose Pty Ltd 2003-2025. All Rights Reserved.