|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinetsoft.graph.coord.AbstractCoord
inetsoft.graph.coord.Coordinate
inetsoft.graph.coord.GeoCoord
public class GeoCoord
This coordinate is used to map longtitude and latitude on a rectangular space. The current implementation uses mercator projection.
| Field Summary |
|---|
| Fields inherited from interface inetsoft.graph.internal.ICoordinate |
|---|
ALL_MOST, BOTTOM_AXIS, BOTTOM_MOST, LEFT_AXIS, LEFT_MOST, RIGHT_AXIS, RIGHT_MOST, TOP_AXIS, TOP_MOST |
| Constructor Summary | |
|---|---|
GeoCoord()
Default constructor. |
|
GeoCoord(inetsoft.graph.geo.GeoDataSet gdata)
Create a geo coord for the map data. |
|
GeoCoord(String field)
Create a geo coord for the map data. |
|
| Method Summary | |
|---|---|
void |
createAxis(VGraph vgraph)
Create axis and other guides for the graph. |
boolean |
equalsContent(Object obj)
Check if the coordinate has the same structure as this. |
void |
fit(double x,
double y,
double w,
double h)
Set the screen transformation to fit the graph to the specified output size. |
inetsoft.graph.guide.axis.Axis[] |
getAxes(boolean recursive)
This coord has not axis. |
int |
getDimCount()
Get the number of dimensions in this coordinate. |
double |
getIntervalSize(double interval)
Get the interval size in this coordinate space. |
Point2D |
getPosition(double[] tuple)
Map a tuple (from logic coordinate space) to the chart coordinate space. |
inetsoft.graph.geo.GeoProjection |
getProjection()
Get the map projection. |
Scale[] |
getScales()
Get the scales used in the coordinate. |
LinearScale |
getXScale()
Get the x scale used in the coordinate. |
LinearScale |
getYScale()
Get the y scale used in the coordinate. |
void |
init(DataSet dset)
Initialize this coordinate for the specified chart data set. |
boolean |
isFullMap()
Check if the dataset should be padded with rows for all shapes in the map. |
void |
setExtent(double minX,
double minY,
double maxX,
double maxY)
Set the extent of the map. |
void |
setFullMap(boolean fullmap)
Set if the dataset should be padded with rows for all shapes in the map. |
void |
setProjection(inetsoft.graph.geo.GeoProjection proj)
Set the map projection. |
void |
setXScale(LinearScale xscale)
Set the x scale used in the coordinate. |
void |
setYScale(LinearScale yscale)
Set the y scale used in the coordinate. |
| Methods inherited from class inetsoft.graph.coord.Coordinate |
|---|
clone, getCoordTransform, getDataSet, getMaxHeight, getMaxWidth, getParentCoordinate, getPlotSpec, getScaledCoordTransform, getScaledCoordTransform, getValue, getVGraph, layoutText, reflect, rotate, setCoordTransform, setDataSet, setParentCoordinate, setPlotSpec, setVGraph, transform, transformShape, transpose |
| Methods inherited from class inetsoft.graph.coord.AbstractCoord |
|---|
getCoordBounds, setCoordBounds |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface inetsoft.graph.internal.ILayout |
|---|
getMinHeight, getMinWidth, getPreferredHeight, getPreferredWidth |
| Methods inherited from interface inetsoft.graph.internal.ICoordinate |
|---|
getAxesAt, getAxisMinSize, getAxisPreferredSize, getAxisSize, getUnitMinHeight, getUnitMinWidth, getUnitPreferredHeight, getUnitPreferredWidth, isAxisLabelVisible, isAxisTickVisible, setAxisLabelVisible, setAxisSize, setAxisTickVisible |
| Constructor Detail |
|---|
public GeoCoord()
public GeoCoord(inetsoft.graph.geo.GeoDataSet gdata)
public GeoCoord(String field)
field - the geography column that is used as map shape feature ids.| Method Detail |
|---|
public boolean isFullMap()
public void setFullMap(boolean fullmap)
public LinearScale getXScale()
public void setXScale(LinearScale xscale)
public LinearScale getYScale()
public void setYScale(LinearScale yscale)
public inetsoft.graph.geo.GeoProjection getProjection()
public void setProjection(inetsoft.graph.geo.GeoProjection proj)
public void setExtent(double minX,
double minY,
double maxX,
double maxY)
public void init(DataSet dset)
init in class Coordinatepublic Point2D getPosition(double[] tuple)
getPosition in class Coordinatetuple - the tuple in logic space (scaled values).
public double getIntervalSize(double interval)
getIntervalSize in class Coordinateinterval - interval value.
public void createAxis(VGraph vgraph)
createAxis in class Coordinatevgraph - visual graph to create axis.
public void fit(double x,
double y,
double w,
double h)
fit in class Coordinatex - horizontal position.y - vertical position.w - width to scale to.h - height to scale to.public int getDimCount()
public Scale[] getScales()
public inetsoft.graph.guide.axis.Axis[] getAxes(boolean recursive)
getAxes in class AbstractCoordrecursive - true to include axes in nested coordinates.public boolean equalsContent(Object obj)
equalsContent in class Coordinate
|
Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||