public class Chart extends TeeBase implements IBaseChart, java.io.Serializable, java.lang.Cloneable
Title: Chart class
Description: Chart contents.
Copyright (c) 2005-2019 by Steema Software SL. All Rights Reserved.
Company: Steema Software SL
Modifier and Type | Class and Description |
---|---|
class |
Chart.ChartToolTip
Title: Tooltips class
|
Modifier and Type | Field and Description |
---|---|
protected Aspect |
aspect |
protected Axes |
axes |
AxisSavedScales |
bottom |
boolean |
cancelMouse |
protected Rectangle |
chartBounds |
protected Rectangle |
chartRect |
boolean |
clipWhenMetafiling |
boolean |
clipWhenPrinting |
protected IGraphics3D |
graphics3D |
boolean |
iClicked |
protected boolean |
invertedRotation |
boolean |
isDirty |
AxisSavedScales |
left |
protected Legend |
legend |
protected ChartPen |
legendPen |
protected int |
maxZOrder |
Cursor |
originalCursor |
protected Page |
page |
protected IChart |
parent |
protected boolean |
printing |
protected boolean |
restoredAxisScales |
AxisSavedScales |
right |
protected SeriesCollection |
series |
protected int |
seriesHeight3D |
protected int |
seriesWidth3D |
protected ToolAxis |
toolCheckHidden |
AxisSavedScales |
top |
protected Zoom |
zoom |
chart, InternalUse
Constructor and Description |
---|
Chart() |
Chart(IChart parent) |
Chart(IChart parent,
Cursor cursor) |
Modifier and Type | Method and Description |
---|---|
Series |
activeSeriesLegend(int itemIndex)
Returns the Active series (visible) that corresponds to the
ItemIndex position in the Legend.
When the Legend style is "Series", returns the series that corresponds to the Legend "ItemIndex" position. |
int |
addSeries(Series value)
Adds a new Series into the Chart.
|
protected void |
applyGapSize(Axis axis,
Point p) |
TeeEvent |
broadcastEvent(Series s,
SeriesEventStyle e)
Internal use.
|
void |
broadcastEvent(TeeEvent event) |
protected Cursor |
broadcastMouseEvent(FrameworkMouseEvent e) |
protected Cursor |
broadcastMouseEvent(FrameworkMouseEvent e,
Cursor c) |
protected void |
broadcastToolEvent(ChartDrawEvent ce) |
boolean |
canClip()
Returns the number of active (visible) series.
CanClip returns if the Chart Drawing Canvas has the capability of "clipping" lines and polygons. "Clipping" means the feature that allows hiding drawing outside the rectangle or polygon specifed by the developer. CanClip returns false when the Chart is displayed in OpenGL 3D, or when the Chart is printed and the TeeClipWhenPrinting constant is true, or when the Chart is converted to a metafile image and the TeeClipWhenMetafiling constant is true. |
boolean |
canDrawPanelBack()
Internal use.
|
static void |
changeAllSeriesType(Chart chart,
java.lang.Class newClass)
Changes all Series on the Chart from one Series type to another.
|
static Series |
changeSeriesType(Series series,
java.lang.Class newClass)
Changes the Series from one type to another, for example from Bar Series
Series to Line Series |
protected int |
chartRectHeight() |
protected int |
chartRectWidth() |
protected void |
checkZoomPanning(FrameworkMouseEvent e) |
java.lang.Object |
clone()
Returns a clone of the Chart.
|
int |
countActiveSeries()
Returns the number of active (visible) series.
In other words it is a count of Series in Chart that have their Active property set to true. |
void |
doBaseInvalidate() |
void |
doChangedBrush(ChartBrush value)
Internal use.
|
void |
doChangedFont(ChartFont value)
Internal use.
|
Rectangle |
doDrawLegend(IGraphics3D g,
Rectangle tmp)
Internal use.
|
Cursor |
doMouseMove(int x,
int y,
FrameworkMouseEvent e,
Cursor c) |
void |
doZoom(double topx,
double topy,
double bottomx,
double bottomy,
double leftx,
double lefty,
double rightx,
double righty)
Internal use.
Activates call to Zoom. |
void |
doZoom(Point.Double top,
Point.Double bot,
Point.Double lef,
Point.Double rig) |
boolean |
drawBackWallAfter(int z) |
boolean |
drawLeftWallFirst()
Internal use.
|
boolean |
drawRightWallAfter()
Internal use.
Tests if RightWall can be last plotted |
java.lang.String |
formattedLegend(int seriesOrValueIndex)
Returns the text string corresponding to a Legend position.
The Legend position depends on Legend.LegendStyle. If LegendStyle is lsSeries, then the text string will be the SeriesOrValueIndexth Active Series Title. If LegendStyle is lsValues, then the text string will be the formatted SeriesOrValueIndexth value of the first Active Series in the Chart. If LegendStyle is lsAuto and only one Active Series exists in the Chart, then the LegendStyle is considered to be lsValues. If there's more than one Active Series then LegendStyle will be lsSeries. |
java.lang.String |
formattedValueLegend(Series aSeries,
int valueIndex)
Returns the String to display at Legend for a given series and point
index.
In other words it returns the string representation of a Series Point value just as it would appear in Chart.Legend. |
Color |
freeSeriesColor(boolean checkBackground)
Returns a color from the default color palette not used by any Series.
|
Aspect |
getAspect()
3D view parameters.
|
boolean |
getAutoRepaint()
Returns if the Chart should automatically repaint itself when a
property has been changed.
|
Axes |
getAxes()
Accesses the five axes, Top, Left, Right, Bottom and z depthas well as
custom axis objects.
|
Series |
getAxisSeries(Axis axis)
Returns the first Series that depends on the specified Axis.
If no Series depends on Axis, the null value is returned. |
int |
getBottom()
Returns the location in pixels of the bottom of the Chart Rectangle.
|
Rectangle |
getChartBounds()
(Read only) Used to get the four sides of the Chart (Left, Top,
Right and Bottom)
|
Rectangle |
getChartRect()
Returns the rectangle that contains the four main Chart axes.
|
protected int |
getChartRectBottom() |
boolean |
getCustomChartRect() |
Exports |
getExport()
Accesses Chart export attributes.
|
Series |
getFirstActiveSeries()
Returns first active (visible) series.
|
Footer |
getFooter()
Defines the Text and formatting attributes to be drawn at the bottom of
the Chart.
Use Text to enter the desired Footer lines, set Visible to true and change Font, Frame and Brush. Use Alignment to control text output position. |
IGraphics3D |
getGraphics3D()
Accesses TeeChart Draw attributes.
|
Header |
getHeader()
Defines the Text and formatting attributes to be drawn at the top of
the Chart.
Use Text to enter the desired Header lines, set Visible to true and change Font, Frame and Brush. |
int |
getHeight()
The Chart Height in pixels.
|
Imports |
getImport()
Accesses Chart import attributes.
|
Theme |
getInternalTheme() |
Series |
getItem(int index)
Default indexer.
Example: |
int |
getLeft()
Defines the position of the Chart's Left border in pixels
|
Legend |
getLegend()
Determines the Legend characteristics.
Legend determines the text and drawing attributes of Chart's textual representation of Series and Series values. |
ChartPen |
getLegendPen()
Defines the Pen chararcteristics of the Legend.
|
TeeEventListeners |
getListeners()
Returns array list of objects that implement the
TeeEventListener interface.
|
int |
getMaxValuesCount()
Returns maximum Point Count between all Active Series.
|
double |
getMaxXValue(Axis axis)
Returns the Maximum Value of the Series X Values List.
|
double |
getMaxYValue(Axis axis)
Returns the highest of all the current Series Y point values.
|
int |
getMaxZOrder()
Returns the highest of all Series ZOrder values.
|
double |
getMinXValue(Axis axis)
Returns the Minimum Value of the Series X Values List.
|
double |
getMinYValue(Axis axis)
Returns the Minimum Value of the Series Y Values List.
|
int |
getNumPages()
Returns the number of Chart pages according to current points per page.
|
Page |
getPage()
Accesses multiple page characteristics of the Chart.
|
Panel |
getPanel()
Accesses all visible Background attributes..
|
Scroll |
getPanning()
Sets the scrolling direction or denies scrolling.
|
IChart |
getParent()
Returns the IChart parent of the Chart.
|
Printer |
getPrinter()
Printing related attributes.
|
boolean |
getPrinting()
Determines when Chart is being printed.
|
int |
getRight()
Defines the position of the Chart's Right border in pixels
|
int |
getScreenHeight() |
int |
getScreenWidth() |
SeriesCollection |
getSeries()
Collection of Series contained in this Chart.
|
Series |
getSeries(int seriesIndex)
Returns the index value of Series
|
int |
getSeriesCount()
Returns the number of Series associated to this Chart.
|
int |
getSeriesHeight3D()
Internal use.
|
int |
getSeriesIndexOf(Series value)
Returns the Index of the Series passed as argument.
|
java.lang.String |
getSeriesTitleLegend(int seriesIndex,
boolean onlyActive)
Returns the Series.Title string.
|
int |
getSeriesWidth3D()
Internal use.
|
Footer |
getSubFooter()
Defines the Text and formatting attributes to be drawn at the bottom of
the Chart, just above the Footer text.
Use Text to enter the desired SubFooter lines, set Visible to true and change Font, Frame and Brush. Use Alignment to control text output position. |
Header |
getSubHeader()
Defines the Text and formatting attributes to be drawn at the top of
the Chart, just below the Header text.
Use Text to enter the desired SubHeader lines, set Visible to true and change Font, Frame and Brush. Use Alignment to control text output position. |
Header |
getSubTitle()
Obsolete. Please use SubHeader instead.
|
Header |
getTitle()
Obsolete. Please use Header instead.
|
Tool |
getTool(int index)
Gets the index'th tool in getTools() collection
|
ToolAxis |
getToolCheckHidden() |
ToolsCollection |
getTools()
Collection of Tool components contained in this Chart.
|
ToolTip |
getToolTip()
Displays a text box at the cursor.
|
int |
getTop()
Defines the position of the Chart's Top border in pixels
|
Walls |
getWalls()
Accesses left, bottom and back wall characteristics of the Chart.
|
int |
getWidth()
The Chart width in pixels.
|
Zoom |
getZoom()
Accesses the Zoom characteristics of the Chart.
|
Image |
image(int width,
int height)
Returns an image of the chart of the defined width and height dimensions
|
protected void |
internalDraw(IGraphics3D g)
Main drawing procedure.
|
double |
internalMinMax(Axis aAxis,
boolean isMin,
boolean isX)
Internal use.
|
boolean |
isAxisCustom(Axis axis)
Returns True if Axis is a Custom Axis.
|
boolean |
isAxisVisible(Axis a) |
boolean |
isDesignTime() |
boolean |
isFreeSeriesColor(Color color,
boolean checkBackground)
Returns whether the AColor parameter is used by any Series or not.
|
boolean |
isValidDataSource(Series s,
java.lang.Object source)
Returns true if source can act as Series datasource.
|
int |
maxMarkWidth()
Returns the Maximum width of the Active Series Marks.
Series Marks must be Visible. |
int |
maxTextHeight(Axis a) |
int |
maxTextWidth()
Returns the Maximum width in pixels of all Series Labels, whether
active or not.
This applies only to Series which have Labels. |
Cursor |
mouseMoved(FrameworkMouseEvent e)
Internal use.
|
void |
mousePressed(FrameworkMouseEvent e)
Internal use.
|
void |
mouseReleased(FrameworkMouseEvent e)
Internal use.
|
void |
moveSeriesTo(Series value,
int newIndex)
Moves Series' index in Chart SeriesList.
|
MultiLine |
multiLineTextWidth(java.lang.String s)
Returns maximum linewidth of multiple line text.
|
void |
paint() |
void |
paint(IGraphics3D g)
Paints the Chart on the Drawing Canvas g.
|
void |
paint(IGraphics3D g,
int width,
int height)
Invoke a Chart repaint.
|
void |
paint(IGraphics3D g,
Rectangle rect)
Paints the Chart in your preferred Canvas and region.
|
boolean |
panAxis(boolean axisHorizontal,
int pos1,
int pos2,
boolean panned) |
protected java.lang.Object |
readResolve() |
void |
reCalcAxesElements(Rectangle r) |
Rectangle |
recalcWidthHeight(Rectangle r)
Internal use.
|
protected void |
removeAllComponents() |
protected void |
removeListener(ITeeEventListener sender) |
void |
removeSeries(Series value)
Removes a Series from the Chart series list, without disposing it.
|
void |
restoreAxisScales()
Restores the "remembered" axis scales when unzooming.
|
protected void |
restoreScales(AllAxisSavedScales s) |
protected AllAxisSavedScales |
saveScales() |
java.util.Iterator |
series() |
Series |
seriesLegend(int itemIndex,
boolean onlyActive)
Returns the series that corresponds to the Legend "ItemIndex" position,
when the Legend style is "Series".
The "OnlyActive" parameter, when false, takes into account all series, visibly active or not. |
void |
setAspect(Aspect value)
3D view parameters.
|
void |
setAutoRepaint(boolean value)
Sets if this Chart should automatically repaint after a property change.
|
void |
setAxes(Axes value)
Accesses the five axes, Top, Left, Right, Bottom and z depthas well as
custom axis objects.
|
void |
setBrushCanvas(Color aColor,
ChartBrush aBrush,
Color aBackColor)
Internal use.
|
void |
setCancelMouse(boolean value)
Cancels the mouse when set to True.
|
void |
setChartBounds(Rectangle value)
Sets the four sides of the Chart (Left, Top,
Right and Bottom)
|
void |
setChartRect(Rectangle value)
Sets the rectangle to contain the four main Chart axes.
|
void |
setChartRect(Rectangle value,
boolean cache) |
void |
setCustomChartRect(boolean value) |
void |
setExport(Exports value)
Accesses Chart export attributes.
|
void |
setFooter(Footer value)
Defines the Text and formatting attributes to be drawn at the bottom of
the Chart.
Use Text to enter the desired Footer lines, set Visible to true and change Font, Frame and Brush. Use Alignment to control text output position. |
void |
setGraphics3D(IGraphics3D value)
Accesses TeeChart Draw attributes.
|
void |
setHeader(Header value)
Defines the Text and formatting attributes to be drawn at the top of
the Chart.
Use Text to enter the desired Header lines, set Visible to true and change Font, Frame and Brush. |
void |
setHeight(int value)
Sets the Chart Height in pixels.
|
void |
setImport(Imports value)
Accesses Chart import attributes.
|
void |
setInternalTheme(Theme theme) |
void |
setItem(int index,
Series value)
Default indexer.
|
void |
setLegend(Legend value)
Determines the Legend characteristics.
Legend determines the text and drawing attributes of Chart's textual representation of Series and Series values. |
void |
setLegendPen(ChartPen value)
Defines the Pen chararcteristics of the Legend.
|
void |
setMaxZOrder(int value)
Sets the highest of Series ZOrder value.
|
void |
setPage(Page value)
Accesses multiple page characteristics of the Chart.
|
void |
setPanel(Panel value)
Sets all visible Background attributes..
|
void |
setPanning(Scroll panning)
Sets the scrolling direction or denies scrolling.
|
void |
setParent(IChart value)
Internal use.
|
void |
setPrinter(Printer value)
Printing related attributes.
|
void |
setPrinting(boolean value)
Determines when Chart is being printed.
|
void |
setSeries(SeriesCollection value)
Sets the index value of Series
|
void |
setSubFooter(Footer value)
Defines the Text and formatting properties to be drawn at the bottom of the
Chart, just above the Footer text.
Use the Text property to enter the desired SubFooter lines, set Visible to true and change the Font, Frame and Brush properties. |
void |
setSubHeader(Header value)
Defines the Text and formatting attributes to be drawn at the top of
the Chart, just below the Header text.
Use Text to enter the desired SubHeader lines, set Visible to true and change Font, Frame and Brush. Use Alignment to control text output position. |
void |
setToolCheckHidden(ToolAxis tool) |
void |
setTools(ToolsCollection value)
Collection of Tool components contained in this Chart.
|
void |
setWalls(Walls value)
Accesses left, bottom and back wall characteristics of the Chart.
|
void |
setWidth(int value)
Sets the Chart width in pixels.
|
void |
setZoom(Zoom zoom)
Sets the Zoom characteristics of the Chart.
|
java.util.Iterator |
tools()
Returns collection of Tool components contained in this Chart.
|
void |
undoZoom()
Obsolete. Please use tChart1.Zoom.Undo method.
|
getChart, invalidate, setBooleanProperty, setChart, setColorProperty, setDoubleProperty, setIntegerProperty, setStringProperty
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
invalidate
protected Aspect aspect
public boolean cancelMouse
public transient boolean iClicked
protected Axes axes
protected transient IGraphics3D graphics3D
protected Legend legend
protected SeriesCollection series
protected ToolAxis toolCheckHidden
protected transient IChart parent
protected Page page
protected transient boolean restoredAxisScales
protected transient ChartPen legendPen
protected transient boolean printing
public boolean clipWhenMetafiling
public boolean clipWhenPrinting
protected transient int seriesWidth3D
protected transient int seriesHeight3D
protected transient int maxZOrder
protected Rectangle chartBounds
protected Rectangle chartRect
protected Zoom zoom
public AxisSavedScales left
public AxisSavedScales top
public AxisSavedScales right
public AxisSavedScales bottom
public Cursor originalCursor
public boolean isDirty
protected boolean invertedRotation
public Chart()
public Chart(IChart parent)
protected java.lang.Object readResolve()
public java.lang.Object clone()
clone
in class java.lang.Object
public final Image image(int width, int height)
image
in interface IBaseChart
width
- height
- public Rectangle getChartBounds()
getChartBounds
in interface IBaseChart
public void setChartBounds(Rectangle value)
value
- Rectanglepublic ToolAxis getToolCheckHidden()
getToolCheckHidden
in interface IBaseChart
public void setToolCheckHidden(ToolAxis tool)
setToolCheckHidden
in interface IBaseChart
public int getWidth()
getWidth
in interface IBaseChart
public void setWidth(int value)
setWidth
in interface IBaseChart
value
- intpublic int getHeight()
getHeight
in interface IBaseChart
public void setHeight(int value)
setHeight
in interface IBaseChart
value
- intpublic int getLeft()
getLeft
in interface IBaseChart
public int getRight()
getRight
in interface IBaseChart
public int getTop()
getTop
in interface IBaseChart
protected int getChartRectBottom()
protected int chartRectWidth()
protected int chartRectHeight()
public void doChangedBrush(ChartBrush value)
doChangedBrush
in interface IBaseChart
value
- public void doChangedFont(ChartFont value)
doChangedFont
in interface IBaseChart
value
- public boolean canDrawPanelBack()
canDrawPanelBack
in interface IBaseChart
public boolean getPrinting()
getPrinting
in interface IBaseChart
public void setPrinting(boolean value)
setPrinting
in interface IBaseChart
value
- booleanpublic void setCancelMouse(boolean value)
setCancelMouse
in interface IBaseChart
value
- booleanpublic static Series changeSeriesType(Series series, java.lang.Class newClass) throws java.lang.NoSuchMethodException, java.lang.IllegalArgumentException, java.lang.reflect.InvocationTargetException
series
- newClass
- java.lang.NoSuchMethodException
java.lang.IllegalArgumentException
java.lang.reflect.InvocationTargetException
public static void changeAllSeriesType(Chart chart, java.lang.Class newClass) throws java.lang.NoSuchMethodException, java.lang.IllegalArgumentException, java.lang.reflect.InvocationTargetException
chart
- newClass
- java.lang.NoSuchMethodException
java.lang.IllegalArgumentException
java.lang.reflect.InvocationTargetException
protected void removeAllComponents()
public TeeEventListeners getListeners()
protected void removeListener(ITeeEventListener sender)
public boolean isValidDataSource(Series s, java.lang.Object source)
s
- source
- public void restoreAxisScales()
restoreAxisScales
in interface IBaseChart
public int getNumPages()
getNumPages
in interface IBaseChart
public ToolTip getToolTip()
getToolTip
in interface IBaseChart
public Series activeSeriesLegend(int itemIndex)
activeSeriesLegend
in interface IBaseChart
itemIndex
- intpublic java.lang.String getSeriesTitleLegend(int seriesIndex, boolean onlyActive)
getSeriesTitleLegend
in interface IBaseChart
seriesIndex
- intonlyActive
- booleanprotected void internalDraw(IGraphics3D g)
g
- IGraphics3Dpublic Zoom getZoom()
getZoom
in interface IBaseChart
public void setZoom(Zoom zoom)
setZoom
in interface IBaseChart
zoom
- public Scroll getPanning()
getPanning
in interface IBaseChart
public void setPanning(Scroll panning)
setPanning
in interface IBaseChart
panning
- protected void checkZoomPanning(FrameworkMouseEvent e)
protected Cursor broadcastMouseEvent(FrameworkMouseEvent e)
protected Cursor broadcastMouseEvent(FrameworkMouseEvent e, Cursor c)
protected void broadcastToolEvent(ChartDrawEvent ce)
public void broadcastEvent(TeeEvent event)
broadcastEvent
in interface IBaseChart
public TeeEvent broadcastEvent(Series s, SeriesEventStyle e)
broadcastEvent
in interface IBaseChart
s
- e
- public int getSeriesIndexOf(Series value)
getSeriesIndexOf
in interface IBaseChart
value
- public SeriesCollection getSeries()
getSeries
in interface IBaseChart
public Series getSeries(int seriesIndex)
getSeries
in interface IBaseChart
seriesIndex
- public void setSeries(SeriesCollection value)
value
- public void mousePressed(FrameworkMouseEvent e)
e
- public boolean panAxis(boolean axisHorizontal, int pos1, int pos2, boolean panned)
public Cursor mouseMoved(FrameworkMouseEvent e)
e
- public Cursor doMouseMove(int x, int y, FrameworkMouseEvent e, Cursor c)
protected AllAxisSavedScales saveScales()
protected void restoreScales(AllAxisSavedScales s)
public void doZoom(double topx, double topy, double bottomx, double bottomy, double leftx, double lefty, double rightx, double righty)
doZoom
in interface IBaseChart
topx
- topy
- bottomx
- bottomy
- leftx
- lefty
- rightx
- righty
- public void doZoom(Point.Double top, Point.Double bot, Point.Double lef, Point.Double rig)
doZoom
in interface IBaseChart
public void mouseReleased(FrameworkMouseEvent e)
e
- public void undoZoom()
public void setBrushCanvas(Color aColor, ChartBrush aBrush, Color aBackColor)
setBrushCanvas
in interface IBaseChart
aColor
- aBrush
- aBackColor
- public boolean canClip()
canClip
in interface IBaseChart
public Rectangle recalcWidthHeight(Rectangle r)
recalcWidthHeight
in interface IBaseChart
r
- public Series getAxisSeries(Axis axis)
axis
- Axispublic double internalMinMax(Axis aAxis, boolean isMin, boolean isX)
internalMinMax
in interface IBaseChart
aAxis
- isMin
- isX
- public int maxTextWidth()
maxTextWidth
in interface IBaseChart
public int maxTextHeight(Axis a)
maxTextHeight
in interface IBaseChart
public int maxMarkWidth()
maxMarkWidth
in interface IBaseChart
public MultiLine multiLineTextWidth(java.lang.String s)
multiLineTextWidth
in interface IBaseChart
s
- public double getMaxXValue(Axis axis)
getMaxXValue
in interface IBaseChart
axis
- Axispublic double getMaxYValue(Axis axis)
getMaxYValue
in interface IBaseChart
axis
- Axispublic double getMinXValue(Axis axis)
getMinXValue
in interface IBaseChart
axis
- Axispublic double getMinYValue(Axis axis)
getMinYValue
in interface IBaseChart
axis
- Axispublic boolean isFreeSeriesColor(Color color, boolean checkBackground)
color
- ColorcheckBackground
- boolean When true, uses current Chart backgroundpublic Color freeSeriesColor(boolean checkBackground)
freeSeriesColor
in interface IBaseChart
checkBackground
- booleanpublic void paint(IGraphics3D g, Rectangle rect)
paint
in interface IBaseChart
g
- IGraphics3Drect
- Rectanglepublic void paint()
public void paint(IGraphics3D g)
paint
in interface IBaseChart
g
- IGraphics3Dpublic void paint(IGraphics3D g, int width, int height)
g
- width
- height
- public Series getItem(int index)
tChart1[0].Color=Color.Blue; is equivalent to tChart1.Series[0].Color=Color.Blue;
index
- intpublic void setItem(int index, Series value)
index
- intvalue
- Seriespublic boolean isAxisVisible(Axis a)
isAxisVisible
in interface IBaseChart
public Series getFirstActiveSeries()
getFirstActiveSeries
in interface IBaseChart
public void reCalcAxesElements(Rectangle r)
public java.lang.String formattedValueLegend(Series aSeries, int valueIndex)
formattedValueLegend
in interface IBaseChart
aSeries
- SeriesvalueIndex
- intpublic Rectangle doDrawLegend(IGraphics3D g, Rectangle tmp)
doDrawLegend
in interface IBaseChart
g
- tmp
- public boolean drawRightWallAfter()
drawRightWallAfter
in interface IBaseChart
public boolean drawBackWallAfter(int z)
drawBackWallAfter
in interface IBaseChart
public boolean drawLeftWallFirst()
drawLeftWallFirst
in interface IBaseChart
public int countActiveSeries()
countActiveSeries
in interface IBaseChart
public boolean isAxisCustom(Axis axis)
isAxisCustom
in interface IBaseChart
axis
- Axispublic Series seriesLegend(int itemIndex, boolean onlyActive)
seriesLegend
in interface IBaseChart
itemIndex
- intonlyActive
- booleanpublic java.lang.String formattedLegend(int seriesOrValueIndex)
formattedLegend
in interface IBaseChart
seriesOrValueIndex
- intpublic int getMaxValuesCount()
getMaxValuesCount
in interface IBaseChart
public Panel getPanel()
getPanel
in interface IBaseChart
public void setPanel(Panel value)
value
- public void setParent(IChart value)
value
- IChartpublic Printer getPrinter()
public void setPrinter(Printer value)
value
- public Page getPage()
getPage
in interface IBaseChart
public void setPage(Page value)
value
- public Legend getLegend()
getLegend
in interface IBaseChart
public void setLegend(Legend value)
setLegend
in interface IBaseChart
value
- public Header getHeader()
getHeader
in interface IBaseChart
public void setHeader(Header value)
value
- public Header getTitle()
public Header getSubTitle()
public Header getSubHeader()
public void setSubHeader(Header value)
value
- public Footer getFooter()
getFooter
in interface IBaseChart
public void setFooter(Footer value)
value
- public Footer getSubFooter()
public void setSubFooter(Footer value)
value
- public Aspect getAspect()
getAspect
in interface IBaseChart
public void setAspect(Aspect value)
value
- public IGraphics3D getGraphics3D()
getGraphics3D
in interface IBaseChart
public void setGraphics3D(IGraphics3D value)
setGraphics3D
in interface IBaseChart
value
- public Tool getTool(int index)
index
- intpublic ToolsCollection getTools()
getTools
in interface IBaseChart
public void setTools(ToolsCollection value)
value
- public Walls getWalls()
getWalls
in interface IBaseChart
public void setWalls(Walls value)
value
- public Axes getAxes()
getAxes
in interface IBaseChart
public void setAxes(Axes value)
value
- public Exports getExport()
public void setExport(Exports value)
value
- public Imports getImport()
public void setImport(Imports value)
value
- public int getSeriesHeight3D()
getSeriesHeight3D
in interface IBaseChart
public int getSeriesWidth3D()
getSeriesWidth3D
in interface IBaseChart
public ChartPen getLegendPen()
getLegendPen
in interface IBaseChart
public void setLegendPen(ChartPen value)
setLegendPen
in interface IBaseChart
value
- ChartPenpublic void moveSeriesTo(Series value, int newIndex)
moveSeriesTo
in interface IBaseChart
value
- SeriesnewIndex
- intpublic void removeSeries(Series value)
removeSeries
in interface IBaseChart
value
- Seriespublic int addSeries(Series value)
addSeries
in interface IBaseChart
value
- Seriespublic int getBottom()
getBottom
in interface IBaseChart
public int getMaxZOrder()
getMaxZOrder
in interface IBaseChart
public void setMaxZOrder(int value)
setMaxZOrder
in interface IBaseChart
value
- intpublic boolean getAutoRepaint()
getAutoRepaint
in interface IBaseChart
public void setAutoRepaint(boolean value)
setAutoRepaint
in interface IBaseChart
value
- booleanpublic boolean getCustomChartRect()
getCustomChartRect
in interface IBaseChart
public void setCustomChartRect(boolean value)
setCustomChartRect
in interface IBaseChart
public Rectangle getChartRect()
getChartRect
in interface IBaseChart
public void setChartRect(Rectangle value)
setChartRect
in interface IBaseChart
value
- Rectanglepublic void setChartRect(Rectangle value, boolean cache)
setChartRect
in interface IBaseChart
public int getSeriesCount()
getSeriesCount
in interface IBaseChart
public java.util.Iterator series()
public java.util.Iterator tools()
public void doBaseInvalidate()
doBaseInvalidate
in interface IBaseChart
public IChart getParent()
getParent
in interface IBaseChart
public boolean isDesignTime()
isDesignTime
in interface IBaseChart
public int getScreenHeight()
getScreenHeight
in interface IBaseChart
public int getScreenWidth()
getScreenWidth
in interface IBaseChart
public Theme getInternalTheme()
getInternalTheme
in interface IBaseChart
public void setInternalTheme(Theme theme)
setInternalTheme
in interface IBaseChart