public class Pyramid extends Series
Title: Pyramid class
Description: Pyramid Series.
Copyright (c) 2005-2019 by Steema Software SL. All Rights Reserved.
Company: Steema Software SL
Series.MarkTextResolver
AUTODEPTH, AUTOZORDER, bActive, bBrush, bColorEach, calcVisiblePoints, colorMember, customMarkText, drawBetweenPoints, endZ, firstVisible, hasZValues, iColors, iNumSampleValues, iZOrder, labelMember, lastVisible, listenerList, mandatory, manualData, marks, middleZ, notMandatory, oldDataSource, percentDecimal, percentFormat, sLabels, startZ, useAxis, useSeriesColor, valueFormat, vxValues, vyValues, yMandatory
chart, InternalUse
Constructor and Description |
---|
Pyramid() |
Pyramid(IBaseChart c) |
Modifier and Type | Method and Description |
---|---|
void |
assign(Series source)
Copies all properties from one Series component to another.
Only the common properties shared by both source and destination Series are copied. |
void |
calcHorizMargins(Margins margins)
Returns the number of pixels for horizontal margins
|
protected void |
drawMark(int valueIndex,
java.lang.String s,
SeriesMarksPosition position) |
void |
drawValue(int valueIndex)
Called internally.
|
boolean |
drawValuesForward()
Returns whether the Series needs to draw points in ascending/descending
order.
Some Series need to draw their points in descending order (starting from the last point to the first) depending on certain situations. |
ChartBrush |
getBrush()
Sets Brush characteristics for the Pyramid Series.
|
java.lang.String |
getDescription()
Gets descriptive text.
|
double |
getMaxXValue()
The Maximum Value of the Series X Values List.
|
double |
getMaxYValue()
The Maximum Value of the Series Y Values List.
|
double |
getMinXValue()
The Minimum Value of the Series X Values List.
|
double |
getMinYValue()
The Minimum Value of the Series Y Values List.
|
ChartPen |
getPen()
Element Pen characteristics.
|
int |
getSizePercent()
The size of Pyramid base relative to Chart Axis bounding width.
Default value: 50 |
void |
setSizePercent(int value)
Sets size of Pyramid base relative to Chart Axis bounding width.
Default value: 50 |
add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, addChartValue, added, addedValue, addNull, addNullXY, addSampleValues, addSeriesMouseListener, addSeriesPaintListener, addValues, assignDispose, assignValues, associatedToAxis, beginUpdate, calcFirstLastVisibleIndex, calcPercentSt, calcPosValue, calculateMarkPosition, calcVerticalMargins, calcXPos, calcXPosValue, calcXSizeValue, calcYPos, calcYPosValue, calcYSizeValue, calcZOrder, canAddRandomPoints, changeType, checkDataSource, checkMouse, checkOrder, checkOtherSeries, clear, clearLists, clicked, clicked, clone, cloneSeries, convertArray, countLegendItems, createNewSeries, createNewSeries, createNewSeries, createSubGallery, dataSourceArray, delete, delete, delete, dispose, doAfterDrawValues, doBeforeDrawChart, doBeforeDrawValues, doClick, doClickPointer, doDoubleClick, draw, drawHiddenValue, drawLegend, drawLegend, drawLegendShape, drawMarks, drawMarksSeries, drawSeries, drawSeriesForward, endUpdate, fillSampleValues, fillSampleValues, fireSeriesMouseEvent, fireSeriesPaint, firstDisplayed, galleryChanged3D, getActive, getAllowSinglePoint, getBitmapEditor, getColor, getColorEach, getColorMember, getColors, getCount, getCountLegendItems, getCursor, getCustomHorizAxis, getCustomVertAxis, getDataSource, getDefaultColor, getDefaultNullValue, getDepth, getEndZ, getFields, getFirstVisible, getFunction, getHasZValues, getHorizAxis, getHorizontalAxis, getLabelMember, getLabels, getLastVisible, getLegendString, getMandatory, getMandatoryAxis, getMarks, getMarkText, getMarkValue, getMaxZValue, getMiddleZ, getMinZValue, getNotMandatory, getNumGallerySeries, getNumSampleValues, getOriginValue, getPercentFormat, getPoint, getSeriesColor, getShowInLegend, getStartZ, getTitle, getUseAxis, getValueColor, getValueFormat, getValueIndexSwapper, getValueList, getValueList, getValueMarkText, getValuesLists, getVertAxis, getVerticalAxis, getVisible, getXValues, getYMandatory, getYValueList, getYValues, getZOrder, hasClickEvents, hasColors, hasDataSource, hasLabels, hasListenersOf, hasNoMandatoryValues, isNull, isPointInChartRect, isValidSeriesSource, isValidSourceOf, lastDisplayed, lastVisibleMark, legendItemColor, legendToValueIndex, maxMarkWidth, moreSameZOrder, mouseEvent, newFromType, numSampleValues, onDisposing, prepareForGallery, prepareLegendCanvas, randomBounds, readResolve, recalcGetAxis, refreshSeries, removeMarkTextResolver, removeSeriesMouseListener, removeSeriesPaintListener, repaint, sameClass, setActive, setChart, setColor, setColorEach, setColorMember, setColors, setCursor, setCustomHorizAxis, setCustomHorizAxis, setCustomVertAxis, setCustomVertAxis, setDataSource, setDefaultNullValue, setDepth, setEndZ, setFunction, setHorizontal, setHorizontalAxis, setLabelMember, setLabels, setMarks, setMarkTextResolver, setMiddleZ, setNull, setNull, setPercentFormat, setSeriesColor, setShowInLegend, setStartZ, setSubGallery, setTitle, setValueFormat, setValueList, setVerticalAxis, setVisible, setXValues, setYValues, setZOrder, setZPositions, sortByLabels, sortByLabels, sortDrawSeries, swapValueIndex, titleOrName, toString, valueListOfAxis, valuesListAdd, xScreenToValue, yScreenToValue
getChart, invalidate, setBooleanProperty, setColorProperty, setDoubleProperty, setIntegerProperty, setStringProperty
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getChart, invalidate
public Pyramid(IBaseChart c)
public Pyramid()
public void assign(Series source)
Series
public int getSizePercent()
Example:
series.setSizePercent(60);
public void setSizePercent(int value)
value
- intpublic ChartPen getPen()
public ChartBrush getBrush()
public void calcHorizMargins(Margins margins)
Series
calcHorizMargins
in class Series
margins
- Marginsprotected void drawMark(int valueIndex, java.lang.String s, SeriesMarksPosition position)
public void drawValue(int valueIndex)
public boolean drawValuesForward()
drawValuesForward
in class Series
public double getMaxXValue()
getMaxXValue
in class Series
public double getMaxYValue()
getMaxYValue
in class Series
public double getMinXValue()
getMinXValue
in class Series
public double getMinYValue()
getMinYValue
in class Series
public java.lang.String getDescription()
getDescription
in class Series