public interface IChartLegend extends IVectorialUniqueValueLegend
Modifier and Type | Field and Description |
---|---|
static String |
BARSCHART_LEGEND_NAME |
static String |
LINKED_LEGEND_NAME |
static String |
PIECHART_LEGEND_NAME |
LEGEND_NAME
Modifier and Type | Method and Description |
---|---|
ISymbol |
getBackgroundSymbol()
Gets the background symbol of this legend
|
Color[] |
getColors()
Gets the colors of represent different parts of chart symbol
|
String[] |
getFieldLabels()
Gets the field's labels of the chart.
|
String |
getFieldNormalize()
Gets the field to represent the normalize size of chart.
|
String |
getFieldSize()
Gets the field to represent the size of chart.
|
Color |
getOutlineColor()
Return the color of the outline
|
int |
getOutlineWidth()
Return the width of the outline
|
int |
getReferenceSystem() |
int |
getSize()
Return the size of symbol
|
int |
getSizeFrom()
Gets the limit size minimum of chart.
|
int |
getSizeOption()
Gets the size option: IPieSymbol.SIZEFIXED, IPieSymbol.SIZESUM or IPieSymbol.SIZEFIELD
|
int |
getSizeTo()
Gets the limit size maximum of chart.
|
int |
getUnit()
Gets the selected unit, the default selected is in pixels.
|
boolean |
is3D()
Return true if the chart is 3D.
|
boolean |
isActiveLimits()
Gets if the limits of size chart are active.
|
boolean |
isOnlySelection()
Gets if draw only diagrams of selection.
|
boolean |
isOutlineShow()
Return true if the chart show outline
|
void |
setActiveLimits(boolean b)
Sets if the limits of size chart are active.
|
void |
setBackgroundSymbol(ISymbol backgroundSymbol)
Sets the background symbol of this legend
|
void |
setColors(Color[] colors)
Sets the colors of represent different parts of chart symbol
|
void |
setFieldNormalize(String selectedItem)
Sets the field to represent the normalize size of chart.
|
void |
setFields(String[] fields)
Only the fields that will be used inside the Chart (you don't have to include here getFieldSize or getFieldNormalize)
|
void |
setFieldSize(String selectedItem)
Sets the field to represent the size of chart.
|
void |
setIs3D(boolean b)
Sets if the chart is 3D
|
void |
setLabels(String[] labels) |
void |
setMaxFeature(double max) |
void |
setMinFeature(double min) |
void |
setOnlySelection(boolean onlySelection)
Draw only the diagram of selection.
|
void |
setOutlineColor(Color outlineColor)
Sets the color of outline
|
void |
setOutlineShow(boolean isOutlineShow)
Sets if the chart show outline
|
void |
setOutlineWidth(int outlineWidth)
Sets the width of outline
|
void |
setReferenceSystem(int selectedIndex) |
void |
setSize(int size)
Sets size of symbols with the fixed size selected
|
void |
setSizeFrom(int integer)
Sets the limit size minimum of chart.
|
void |
setSizeOption(int option)
Sets the size option: IPieSymbol.SIZEFIXED, IPieSymbol.SIZESUM or IPieSymbol.SIZEFIELD
|
void |
setSizeTo(int integer)
Sets the limit size maximum of chart.
|
void |
setUnit(int selectedItem)
Sets the selected unit, the default selected is in pixels.
|
getColorScheme, getSymbolByValue, getSymbolKey, getZSort, setColorScheme, setValueSymbolByID, setZSort
addSymbol, clear, delSymbol, getClassifyingFieldNames, getClassifyingFieldTypes, replace, setClassifyingFieldNames, setClassifyingFieldTypes
getDescriptions, getSymbols, getValues
draw, draw, getShapeType, getSymbolByFeature, isSuitableForShapeType, isUseDefaultSymbol, print, print, setDefaultSymbol, setShapeType, useDefaultSymbol
addLegendListener, cloneLegend, fireDefaultSymbolChangedEvent, getDefaultSymbol, getListeners, removeLegendListener
loadFromState, saveToState
addDrawingObserver, deleteDrawingObserver, deleteDrawingObservers
static final String BARSCHART_LEGEND_NAME
static final String PIECHART_LEGEND_NAME
static final String LINKED_LEGEND_NAME
ISymbol getBackgroundSymbol()
void setBackgroundSymbol(ISymbol backgroundSymbol)
backgroundSymbol
- the symbol for the backgroundboolean is3D()
void setIs3D(boolean b)
int getSize()
void setSize(int size)
boolean isOutlineShow()
void setOutlineShow(boolean isOutlineShow)
Color getOutlineColor()
void setOutlineColor(Color outlineColor)
int getOutlineWidth()
void setOutlineWidth(int outlineWidth)
int getSizeOption()
String getFieldSize()
String getFieldNormalize()
String[] getFieldLabels()
int getSizeFrom()
int getSizeTo()
int getUnit()
void setSizeFrom(int integer)
integer
- minimum size.void setSizeTo(int integer)
integer
- maximum size.void setUnit(int selectedItem)
integer
- unit selected.void setFieldSize(String selectedItem)
String
- field of size.void setFieldNormalize(String selectedItem)
String
- field of normalize size.void setSizeOption(int option)
boolean isActiveLimits()
void setActiveLimits(boolean b)
boolean
- true if the limits of size are active.Color[] getColors()
void setColors(Color[] colors)
Color[]
- colors of partsvoid setOnlySelection(boolean onlySelection)
boolean
- true if draw only selection.boolean isOnlySelection()
int getReferenceSystem()
void setReferenceSystem(int selectedIndex)
void setMinFeature(double min)
void setMaxFeature(double max)
void setFields(String[] fields)
fields
- void setLabels(String[] labels)