public class Ternary extends Custom3DPalette
Title: Ternary class
Description: Pyramid Series.
Copyright (c) 2005-2019 by Steema Software SL. All Rights Reserved.
Company: Steema Software SL
Modifier and Type | Class and Description |
---|---|
class |
Ternary.ClickedVars |
class |
Ternary.DrawLabelsVars |
class |
Ternary.LegendStringVars |
static class |
Ternary.TernaryAxisScale |
static class |
Ternary.TernaryFormat |
static class |
Ternary.TernaryLegendStyle |
static class |
Ternary.TernaryMarkStyle |
static class |
Ternary.TernaryStyle |
Custom3DPalette.ColorResolver
Series.MarkTextResolver
bUseColorRange, bUsePalette, iPaletteSteps, sameBrush
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 |
---|
Ternary() |
Ternary(IBaseChart c) |
Modifier and Type | Method and Description |
---|---|
int |
add(double aX,
double aY,
double aZ,
double aRadius,
Color aColor) |
int |
add(double AX,
double AY,
double aZ,
double ARadius,
double AWeight,
Color AColor) |
int |
add(double AX,
double AY,
double aZ,
double ARadius,
double AWeight,
java.lang.String aLabel,
Color AColor) |
int |
add(double AX,
double AY,
double aZ,
double ARadius,
java.lang.String aLabel,
Color AColor) |
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. |
Point |
calcPointFromValues(double a,
double b,
double c) |
int |
clicked(int x,
int y)
Returns the ValueIndex of the "clicked" point in the Series.
Clicked means the X and Y coordinates are in the point screen region bounds. |
boolean |
clickedPointer(int ValueIndex,
int tmpX,
int tmpY,
int x,
int y) |
int |
countLegendItems() |
void |
doBeforeDrawChart() |
PointerStyle |
doGetPointerStyle(int ValueIndex) |
void |
draw() |
protected void |
drawAxes() |
protected void |
drawAxis(Axis aAxis,
Point StarPoint,
Point EndPoint) |
protected void |
drawGrids(Point[] Element) |
void |
drawLabels(Point[] Element) |
protected void |
drawMark(int valueIndex,
java.lang.String s,
SeriesMarksPosition position) |
protected void |
drawTicks(Point[] Element) |
void |
drawValue(int index)
Called internally.
|
protected void |
drawVertexTitles() |
void |
fillSampleValues(int numValues)
Adds the specified NumValues random points.
|
Ternary.TernaryAxisScale |
getAxisScale() |
java.lang.String |
getDescription()
Gets descriptive text.
|
Gradient |
getGradient() |
java.lang.String |
getLegendString(int legendIndex,
LegendTextStyle legendTextStyle)
Returns LegendString for LegendIndexth item.
|
java.lang.String |
getLineSeparator() |
ChartPen |
getLinesPen() |
Ternary.TernaryMarkStyle |
getMarkStyle() |
Ternary.TernaryFormat |
getPlotFormat() |
SeriesPointer |
getPointer() |
ValueList |
getRadiusValues() |
boolean |
getRotateLabels() |
protected Point |
getSideOffset(int Hypoteneuse) |
Ternary.TernaryLegendStyle |
getTernaryLegendStyle() |
Ternary.TernaryMarkStyle |
getTernaryMarkStyle() |
Ternary.TernaryStyle |
getTernaryStyle() |
protected Point |
getVectorLocation(Point StarPoint,
Point EndPoint,
int PercentOffset) |
Point |
getVertexA() |
Point |
getVertexB() |
Point |
getVertexC() |
java.util.ArrayList[] |
getVertexTitles() |
ValueList |
getWeightValues() |
static boolean |
isNullOrEmpty(java.lang.String value) |
protected boolean |
isPointInChartRect(int valueIndex) |
protected int |
numSampleValues() |
void |
prepareForGallery(boolean isEnabled) |
protected void |
prepareLegendCanvas(Graphics3D g,
int valueIndex,
Color backColor,
ChartBrush aBrush) |
protected void |
preparePointer(int ValueIndex) |
protected double[] |
rationaliseValues(double x,
double y,
double z) |
void |
setAxisScale(Ternary.TernaryAxisScale Value) |
void |
setChart(IBaseChart c)
Chart associated with this object.
|
void |
setGradient(Gradient Value) |
void |
setLinesPen(ChartPen Value) |
void |
setMarkStyle(Ternary.TernaryMarkStyle value) |
void |
setPlotFormat(Ternary.TernaryFormat Value) |
void |
setPointer(SeriesPointer value) |
void |
setRadiusValues(ValueList value) |
void |
setRotateLabels(boolean value) |
void |
setTernaryLegendStyle(Ternary.TernaryLegendStyle Value) |
void |
setTernaryMarkStyle(Ternary.TernaryMarkStyle Value) |
void |
setTernaryStyle(Ternary.TernaryStyle Value) |
void |
setVertexTitle(java.lang.String value,
int position) |
void |
setWeightValues(ValueList value) |
addPalette, calcColorRange, clearPalette, createDefaultPalette, createSubGallery, drawLegendShape, galleryChanged3D, getBlueFactor, getBrush, getCountLegendItems, getEndColor, getGreenFactor, getMidColor, getPalette, getPaletteMin, getPaletteRange, getPaletteStep, getPaletteSteps, getPaletteStyle, getPen, getRedFactor, getStartColor, getUseColorRange, getUsePalette, getUsePaletteMin, getValueColor, getValueColorValue, legendItemColor, readResolve, removeColorResolver, setBlueFactor, setColorResolver, setEndColor, setGreenFactor, setMidColor, setPaletteMin, setPaletteRange, setPaletteStep, setPaletteSteps, setPaletteStyle, setRedFactor, setSameBrush, setStartColor, setSubGallery, setUseColorRange, setUsePalette, setUsePaletteMin
add, add, add, add, add, add, add, add, add, calcZOrder, calcZPos, getMaxZValue, getMinZValue, getPoint, getTimesZOrder, getZValues, isValidSourceOf, prepareLegendCanvas, setTimesZOrder, valueListOfAxis
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, calcHorizMargins, calcPercentSt, calcPosValue, calculateMarkPosition, calcVerticalMargins, calcXPos, calcXPosValue, calcXSizeValue, calcYPos, calcYPosValue, calcYSizeValue, canAddRandomPoints, changeType, checkDataSource, checkMouse, checkOrder, checkOtherSeries, clear, clearLists, clicked, clone, cloneSeries, convertArray, createNewSeries, createNewSeries, createNewSeries, dataSourceArray, delete, delete, delete, dispose, doAfterDrawValues, doBeforeDrawValues, doClick, doClickPointer, doDoubleClick, drawHiddenValue, drawLegend, drawLegend, drawMarks, drawMarksSeries, drawSeries, drawSeriesForward, drawValuesForward, endUpdate, fillSampleValues, fireSeriesMouseEvent, fireSeriesPaint, firstDisplayed, getActive, getAllowSinglePoint, getBitmapEditor, getColor, getColorEach, getColorMember, getColors, getCount, getCursor, getCustomHorizAxis, getCustomVertAxis, getDataSource, getDefaultColor, getDefaultNullValue, getDepth, getEndZ, getFields, getFirstVisible, getFunction, getHasZValues, getHorizAxis, getHorizontalAxis, getLabelMember, getLabels, getLastVisible, getMandatory, getMandatoryAxis, getMarks, getMarkText, getMarkValue, getMaxXValue, getMaxYValue, getMiddleZ, getMinXValue, getMinYValue, getNotMandatory, getNumGallerySeries, getNumSampleValues, getOriginValue, getPercentFormat, getSeriesColor, getShowInLegend, getStartZ, getTitle, getUseAxis, getValueFormat, getValueIndexSwapper, getValueList, getValueList, getValueMarkText, getValuesLists, getVertAxis, getVerticalAxis, getVisible, getXValues, getYMandatory, getYValueList, getYValues, getZOrder, hasClickEvents, hasColors, hasDataSource, hasLabels, hasListenersOf, hasNoMandatoryValues, isNull, isValidSeriesSource, lastDisplayed, lastVisibleMark, legendToValueIndex, maxMarkWidth, moreSameZOrder, mouseEvent, newFromType, onDisposing, randomBounds, recalcGetAxis, refreshSeries, removeMarkTextResolver, removeSeriesMouseListener, removeSeriesPaintListener, repaint, sameClass, setActive, 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, setTitle, setValueFormat, setValueList, setVerticalAxis, setVisible, setXValues, setYValues, setZOrder, setZPositions, sortByLabels, sortByLabels, sortDrawSeries, swapValueIndex, titleOrName, toString, valuesListAdd, xScreenToValue, yScreenToValue
getChart, invalidate, setBooleanProperty, setColorProperty, setDoubleProperty, setIntegerProperty, setStringProperty
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getChart, invalidate
public Ternary()
public Ternary(IBaseChart c)
public void assign(Series source)
Series
public int add(double aX, double aY, double aZ, double aRadius, Color aColor)
public int add(double AX, double AY, double aZ, double ARadius, java.lang.String aLabel, Color AColor)
public int add(double AX, double AY, double aZ, double ARadius, double AWeight, Color AColor)
public int add(double AX, double AY, double aZ, double ARadius, double AWeight, java.lang.String aLabel, Color AColor)
public void fillSampleValues(int numValues)
Series
fillSampleValues
in class Series
numValues
- int the number of sample values to add.protected double[] rationaliseValues(double x, double y, double z)
public Point calcPointFromValues(double a, double b, double c)
protected void drawAxes()
protected Point getSideOffset(int Hypoteneuse)
protected void drawGrids(Point[] Element)
public void drawLabels(Point[] Element)
protected void drawMark(int valueIndex, java.lang.String s, SeriesMarksPosition position)
protected void drawTicks(Point[] Element)
public void drawValue(int index)
Series
protected void drawVertexTitles()
protected Point getVectorLocation(Point StarPoint, Point EndPoint, int PercentOffset)
public java.util.ArrayList[] getVertexTitles()
public void setVertexTitle(java.lang.String value, int position)
public java.lang.String getLegendString(int legendIndex, LegendTextStyle legendTextStyle)
Custom3DPalette
getLegendString
in interface ISeries
getLegendString
in class Custom3DPalette
legendIndex
- intlegendTextStyle
- LegendTextStylesprotected int numSampleValues()
numSampleValues
in class Series
public Ternary.TernaryStyle getTernaryStyle()
public PointerStyle doGetPointerStyle(int ValueIndex)
public boolean clickedPointer(int ValueIndex, int tmpX, int tmpY, int x, int y)
public int clicked(int x, int y)
Series
public int countLegendItems()
countLegendItems
in class Custom3DPalette
public void doBeforeDrawChart()
doBeforeDrawChart
in class Custom3DPalette
protected boolean isPointInChartRect(int valueIndex)
isPointInChartRect
in class Series
public void prepareForGallery(boolean isEnabled)
prepareForGallery
in class Custom3DPalette
protected void prepareLegendCanvas(Graphics3D g, int valueIndex, Color backColor, ChartBrush aBrush)
protected void preparePointer(int ValueIndex)
public void setAxisScale(Ternary.TernaryAxisScale Value)
public void setChart(IBaseChart c)
TeeBase
setChart
in interface ISeries
setChart
in class Custom3DPalette
c
- IBaseChartpublic void setGradient(Gradient Value)
public void setLinesPen(ChartPen Value)
public void setPlotFormat(Ternary.TernaryFormat Value)
public void setTernaryLegendStyle(Ternary.TernaryLegendStyle Value)
public Ternary.TernaryMarkStyle getTernaryMarkStyle()
public void setTernaryMarkStyle(Ternary.TernaryMarkStyle Value)
public void setTernaryStyle(Ternary.TernaryStyle Value)
public java.lang.String getDescription()
getDescription
in class Series
public Ternary.TernaryAxisScale getAxisScale()
public Gradient getGradient()
public java.lang.String getLineSeparator()
public ChartPen getLinesPen()
public Ternary.TernaryMarkStyle getMarkStyle()
public void setMarkStyle(Ternary.TernaryMarkStyle value)
public Ternary.TernaryFormat getPlotFormat()
public SeriesPointer getPointer()
public void setPointer(SeriesPointer value)
public ValueList getRadiusValues()
public void setRadiusValues(ValueList value)
public boolean getRotateLabels()
public void setRotateLabels(boolean value)
public Ternary.TernaryLegendStyle getTernaryLegendStyle()
public Point getVertexA()
public Point getVertexB()
public Point getVertexC()
public ValueList getWeightValues()
public void setWeightValues(ValueList value)
public static boolean isNullOrEmpty(java.lang.String value)