ChartFrame
Inheritance: java.lang.Object
public class ChartFrame
Encapsulates the object that represents the frame object in a chart.
Methods
Method | Description |
---|---|
equals(Object arg0) | |
getArea() | Gets the Area. |
getAutoScaleFont() | True if the text in the object changes font size when the object size changes. |
getBackground() | Gets the display mode of the background |
getBackgroundMode() | Gets the display mode of the background |
getBorder() | Gets the Line. |
getChart() | Gets the chart to which this object belongs. |
getClass() | |
getDefaultHeight() | Represents height of default position in units of 1/4000 of the chart area. |
getDefaultHeightRatioToChart() | Represents height of default position in units of Fraction of the chart area. |
getDefaultWidth() | Represents width of default position in units of 1/4000 of the chart area. |
getDefaultWidthRatioToChart() | Represents width of default position in units of Fraction of the chart area. |
getDefaultX() | Represents x of default position in units of 1/4000 of the chart area. |
getDefaultXRatioToChart() | Represents x of default position in units of Fraction of the chart area. |
getDefaultY() | Represents y of default position in units of 1/4000 of the chart area. |
getDefaultYRatioToChart() | Represents y of default position in units of Fraction of the chart area. |
getFont() | Gets a ChartArea.getFont() object of the specified ChartFrame object. |
getHeight() | Gets the height of frame in units of 1/4000 of the chart area. |
getHeightPixel() | Gets the height of frame in units of Pixel. |
getHeightRatioToChart() | Gets the height of frame in units of ratio of the chart area. |
getShadow() | True if the frame has a shadow. |
getShapeProperties() | Gets the getShapeProperties() object. |
getTextFont() | Gets a ChartArea.getFont() object of the specified ChartFrame object. |
getTextOptions() | Gets the options of the text. |
getWidth() | Gets the width of frame in units of 1/4000 of the chart area. |
getWidthPixel() | Gets the width of frame in units of Pixel. |
getWidthRatioToChart() | Gets the width of frame in units of ratio of the chart area. |
getX() | Gets the x coordinate of the upper left corner in units of 1/4000 of the chart area. |
getXPixel() | Gets the x coordinate of the upper left corner in units of Pixel. |
getXRatioToChart() | Gets the x coordinate of the upper left corner in units of ratio of the chart area. |
getY() | Gets the y coordinate of the upper left corner in units of 1/4000 of the chart area. |
getYPixel() | Gets the y coordinate of the upper left corner in units of Pixel. |
getYRatioToChart() | Gets the y coordinate of the upper left corner in units of ratio of the chart area. |
hashCode() | |
isAutomaticSize() | Indicates whether the chart frame is automatic sized. |
isDefaultPosBeSet() | Indicates whether default position(DefaultX, DefaultY, DefaultWidth and DefaultHeight) are set. |
isInnerMode() | Indicates whether the size of the plot area size includes the tick marks, and the axis labels. |
notify() | |
notifyAll() | |
setAutoScaleFont(boolean value) | True if the text in the object changes font size when the object size changes. |
setAutomaticSize(boolean value) | Indicates whether the chart frame is automatic sized. |
setBackground(int value) | Sets the display mode of the background |
setBackgroundMode(int value) | Sets the display mode of the background |
setHeight(int value) | Sets the height of frame in units of 1/4000 of the chart area. |
setHeightPixel(int value) | Sets the height of frame in units of Pixel. |
setHeightRatioToChart(double value) | Sets the height of frame in units of ratio of the chart area. |
setInnerMode(boolean value) | Indicates whether the size of the plot area size includes the tick marks, and the axis labels. |
setPositionAuto() | Set position of the frame to automatic |
setShadow(boolean value) | True if the frame has a shadow. |
setWidth(int value) | Sets the width of frame in units of 1/4000 of the chart area. |
setWidthPixel(int value) | Sets the width of frame in units of Pixel. |
setWidthRatioToChart(double value) | Sets the width of frame in units of ratio of the chart area. |
setX(int value) | Sets the x coordinate of the upper left corner in units of 1/4000 of the chart area. |
setXPixel(int value) | Sets the x coordinate of the upper left corner in units of Pixel. |
setXRatioToChart(double value) | Sets the x coordinate of the upper left corner in units of ratio of the chart area. |
setY(int value) | Sets the y coordinate of the upper left corner in units of 1/4000 of the chart area. |
setYPixel(int value) | Sets the y coordinate of the upper left corner in units of Pixel. |
setYRatioToChart(double value) | Sets the y coordinate of the upper left corner in units of ratio of the chart area. |
toString() | |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
getArea()
public Area getArea()
Gets the Area.
Returns: Area
getAutoScaleFont()
public boolean getAutoScaleFont()
True if the text in the object changes font size when the object size changes. The default value is True.
Returns: boolean
getBackground()
public int getBackground()
Gets the display mode of the background
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.
Returns: int
getBackgroundMode()
public int getBackgroundMode()
Gets the display mode of the background
See BackgroundMode.
Returns: int
getBorder()
public Line getBorder()
Gets the Line.
Returns: Line
getChart()
public Chart getChart()
Gets the chart to which this object belongs.
Returns: Chart
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getDefaultHeight()
public int getDefaultHeight()
Represents height of default position in units of 1/4000 of the chart area.
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.
Returns: int
getDefaultHeightRatioToChart()
public double getDefaultHeightRatioToChart()
Represents height of default position in units of Fraction of the chart area.
Returns: double
getDefaultWidth()
public int getDefaultWidth()
Represents width of default position in units of 1/4000 of the chart area.
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.
Returns: int
getDefaultWidthRatioToChart()
public double getDefaultWidthRatioToChart()
Represents width of default position in units of Fraction of the chart area.
Returns: double
getDefaultX()
public int getDefaultX()
Represents x of default position in units of 1/4000 of the chart area.
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.
Returns: int
getDefaultXRatioToChart()
public double getDefaultXRatioToChart()
Represents x of default position in units of Fraction of the chart area.
Returns: double
getDefaultY()
public int getDefaultY()
Represents y of default position in units of 1/4000 of the chart area.
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.
Returns: int
getDefaultYRatioToChart()
public double getDefaultYRatioToChart()
Represents y of default position in units of Fraction of the chart area.
Returns: double
getFont()
public Font getFont()
Gets a ChartArea.getFont() object of the specified ChartFrame object.
Returns: Font
getHeight()
public int getHeight()
Gets the height of frame in units of 1/4000 of the chart area.
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.
Returns: int
getHeightPixel()
public int getHeightPixel()
Gets the height of frame in units of Pixel.
Returns: int
getHeightRatioToChart()
public double getHeightRatioToChart()
Gets the height of frame in units of ratio of the chart area.
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;
Returns: double
getShadow()
public boolean getShadow()
True if the frame has a shadow.
Returns: boolean
getShapeProperties()
public ShapePropertyCollection getShapeProperties()
Gets the getShapeProperties() object.
Returns: ShapePropertyCollection
getTextFont()
public Font getTextFont()
Gets a 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.
Returns: Font
getTextOptions()
public TextOptions getTextOptions()
Gets the options of the text.
Returns: TextOptions
getWidth()
public int getWidth()
Gets the width of frame in units of 1/4000 of the chart area.
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.
Returns: int
getWidthPixel()
public int getWidthPixel()
Gets the width of frame in units of Pixel.
Returns: int
getWidthRatioToChart()
public double getWidthRatioToChart()
Gets the width of frame in units of ratio of the chart area.
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;
Returns: double
getX()
public int getX()
Gets the x coordinate of the upper left corner in units of 1/4000 of the chart area.
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.
Returns: int
getXPixel()
public int getXPixel()
Gets the x coordinate of the upper left corner in units of Pixel.
Returns: int
getXRatioToChart()
public double getXRatioToChart()
Gets the x coordinate of the upper left corner in units of ratio of the chart area.
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;
Returns: double
getY()
public int getY()
Gets the y coordinate of the upper left corner in units of 1/4000 of the chart area.
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.
Returns: int
getYPixel()
public int getYPixel()
Gets the y coordinate of the upper left corner in units of Pixel.
Returns: int
getYRatioToChart()
public double getYRatioToChart()
Gets the y coordinate of the upper left corner in units of ratio of the chart area.
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;
Returns: double
hashCode()
public native int hashCode()
Returns: int
isAutomaticSize()
public boolean isAutomaticSize()
Indicates whether the chart frame is automatic sized.
Returns: boolean
isDefaultPosBeSet()
public boolean isDefaultPosBeSet()
Indicates whether default position(DefaultX, DefaultY, DefaultWidth and DefaultHeight) are set.
Returns: boolean
isInnerMode()
public boolean isInnerMode()
Indicates whether the size of the plot area size includes the tick marks, and the axis labels. False specifies that the size shall determine the size of the plot area, the tick marks, and the axis labels.
Remarks
Only for Xlsx file.
Returns: boolean
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
setAutoScaleFont(boolean value)
public void setAutoScaleFont(boolean value)
True if the text in the object changes font size when the object size changes. The default value is True.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
setAutomaticSize(boolean value)
public void setAutomaticSize(boolean value)
Indicates whether the chart frame is automatic sized.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
setBackground(int value)
public void setBackground(int value)
Sets the display mode of the background
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.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
setBackgroundMode(int value)
public void setBackgroundMode(int value)
Sets the display mode of the background
See BackgroundMode.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
setHeight(int value)
public void setHeight(int value)
Sets the height of frame in units of 1/4000 of the chart area.
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.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
setHeightPixel(int value)
public void setHeightPixel(int value)
Sets the height of frame in units of Pixel.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
setHeightRatioToChart(double value)
public void setHeightRatioToChart(double value)
Sets the height of frame in units of ratio of the chart area.
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;
Parameters:
Parameter | Type | Description |
---|---|---|
value | double |
setInnerMode(boolean value)
public void setInnerMode(boolean value)
Indicates whether the size of the plot area size includes the tick marks, and the axis labels. False specifies that the size shall determine the size of the plot area, the tick marks, and the axis labels.
Remarks
Only for Xlsx file.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
setPositionAuto()
public void setPositionAuto()
Set position of the frame to automatic
setShadow(boolean value)
public void setShadow(boolean value)
True if the frame has a shadow.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
setWidth(int value)
public void setWidth(int value)
Sets the width of frame in units of 1/4000 of the chart area.
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.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
setWidthPixel(int value)
public void setWidthPixel(int value)
Sets the width of frame in units of Pixel.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
setWidthRatioToChart(double value)
public void setWidthRatioToChart(double value)
Sets the width of frame in units of ratio of the chart area.
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;
Parameters:
Parameter | Type | Description |
---|---|---|
value | double |
setX(int value)
public void setX(int value)
Sets the x coordinate of the upper left corner in units of 1/4000 of the chart area.
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.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
setXPixel(int value)
public void setXPixel(int value)
Sets the x coordinate of the upper left corner in units of Pixel.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
setXRatioToChart(double value)
public void setXRatioToChart(double value)
Sets the x coordinate of the upper left corner in units of ratio of the chart area.
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;
Parameters:
Parameter | Type | Description |
---|---|---|
value | double |
setY(int value)
public void setY(int value)
Sets the y coordinate of the upper left corner in units of 1/4000 of the chart area.
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.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
setYPixel(int value)
public void setYPixel(int value)
Sets the y coordinate of the upper left corner in units of Pixel.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
setYRatioToChart(double value)
public void setYRatioToChart(double value)
Sets the y coordinate of the upper left corner in units of ratio of the chart area.
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;
Parameters:
Parameter | Type | Description |
---|---|---|
value | double |
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |