public class Map extends Custom3DPalette
Title: Map class
Description: Map series.
Copyright (c) 2005-2019 by Steema Software SL. All Rights Reserved.
Company: Steema Software SL
Modifier and Type | Class and Description |
---|---|
protected class |
Map.CompareOrder |
protected class |
Map.SwapPolygon |
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 |
---|
Map() |
Map(IBaseChart c) |
Modifier and Type | Method and Description |
---|---|
protected void |
addSampleValues(int numValues) |
void |
addShape(int[] x,
int[] y,
java.lang.String text)
Adds a new shape to the Map Series.
|
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
|
void |
calcVerticalMargins(Margins margins)
Returns the number of pixels for vertical margins
|
void |
clear()
Removes all points, texts and Colors from the Series.
Dependent Series are notified. |
int |
clicked(int x,
int y)
The ValueIndex of the "clicked" point in the Map Series.
|
void |
createSubGallery(Gallery addSubChart) |
void |
delete(int index)
Removes the index th point.
X values remain unchanged. The Chart will be automatically redrawn. |
void |
delete(int index,
int count,
boolean removeGap)
Removes count number of points starting at index.
When RemoveGap parameter is true, it calls ValueList FillSequence. The Chart will be automatically redrawn. |
void |
dispose() |
protected void |
draw() |
protected void |
drawMark(int valueIndex,
java.lang.String st,
SeriesMarksPosition aPosition) |
void |
drawValue(int index)
Called internally.
|
void |
galleryChanged3D(boolean is3D) |
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.
|
Polygon |
getPolygon(int index)
Default array property in Map series to make it easier to obtain a Map
polygon object:
|
PolygonList |
getShapes()
A list of Polygon objects.
Each polygon object in the list refers to a "shape" in the Map series. |
int |
getTransparency() |
protected int |
numSampleValues() |
void |
prepareForGallery(boolean isEnabled) |
void |
setShapes(PolygonList value) |
void |
setSubGallery(int index)
Creates and prepares the index'th Series style to show at sub-gallery
dialog.
|
void |
setTransparency(int value) |
protected void |
swapValueIndex(int a,
int b)
Exchanges one point with another.
|
addPalette, calcColorRange, clearPalette, countLegendItems, createDefaultPalette, doBeforeDrawChart, drawLegendShape, getBlueFactor, getBrush, getCountLegendItems, getEndColor, getGreenFactor, getLegendString, getMidColor, getPalette, getPaletteMin, getPaletteRange, getPaletteStep, getPaletteSteps, getPaletteStyle, getPen, getRedFactor, getStartColor, getUseColorRange, getUsePalette, getUsePaletteMin, getValueColor, getValueColorValue, legendItemColor, readResolve, removeColorResolver, setBlueFactor, setChart, setColorResolver, setEndColor, setGreenFactor, setMidColor, setPaletteMin, setPaletteRange, setPaletteStep, setPaletteSteps, setPaletteStyle, setRedFactor, setSameBrush, setStartColor, 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, addSeriesMouseListener, addSeriesPaintListener, addValues, assignDispose, assignValues, associatedToAxis, beginUpdate, calcFirstLastVisibleIndex, calcPercentSt, calcPosValue, calculateMarkPosition, calcXPos, calcXPosValue, calcXSizeValue, calcYPos, calcYPosValue, calcYSizeValue, canAddRandomPoints, changeType, checkDataSource, checkMouse, checkOrder, checkOtherSeries, clearLists, clicked, clone, cloneSeries, convertArray, createNewSeries, createNewSeries, createNewSeries, dataSourceArray, delete, doAfterDrawValues, doBeforeDrawValues, doClick, doClickPointer, doDoubleClick, drawHiddenValue, drawLegend, drawLegend, drawMarks, drawMarksSeries, drawSeries, drawSeriesForward, drawValuesForward, endUpdate, fillSampleValues, 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, getMiddleZ, 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, isPointInChartRect, 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, titleOrName, toString, valuesListAdd, xScreenToValue, yScreenToValue
getChart, invalidate, setBooleanProperty, setColorProperty, setDoubleProperty, setIntegerProperty, setStringProperty
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getChart, invalidate
public Map(IBaseChart c)
public Map()
public void assign(Series source)
Series
public void clear()
Series
public int getTransparency()
public void setTransparency(int value)
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 void delete(int index)
Series
public void delete(int index, int count, boolean removeGap)
Series
public int clicked(int x, int y)
public void setShapes(PolygonList value)
protected void swapValueIndex(int a, int b)
Series
swapValueIndex
in class Series
a
- int index of first point to exchange.b
- int index of second point to exchange.public Polygon getPolygon(int index)
index
- intpublic PolygonList getShapes()
public void addShape(int[] x, int[] y, java.lang.String text)
x
- int[]y
- int[]text
- Stringprotected int numSampleValues()
numSampleValues
in class Series
public void calcHorizMargins(Margins margins)
Series
calcHorizMargins
in class Series
margins
- Marginspublic void calcVerticalMargins(Margins margins)
Series
calcVerticalMargins
in class Series
margins
- Marginspublic void createSubGallery(Gallery addSubChart)
createSubGallery
in class Custom3DPalette
public void setSubGallery(int index)
Series
setSubGallery
in interface ISeries
setSubGallery
in class Custom3DPalette
index
- intpublic void prepareForGallery(boolean isEnabled)
prepareForGallery
in class Custom3DPalette
public void galleryChanged3D(boolean is3D)
galleryChanged3D
in class Custom3DPalette
public void drawValue(int index)
Series
public void dispose()
protected void drawMark(int valueIndex, java.lang.String st, SeriesMarksPosition aPosition)
public java.lang.String getDescription()
getDescription
in class Series
protected void addSampleValues(int numValues)
addSampleValues
in class Series