Interface ICategoryDateAxis
Defines the interface to a category axis, which treats X-data as linearly increasing regardless of value
Implements
Namespace:
Assembly: .dll
Syntax
public interface ICategoryDateAxis extends IAxisCore
Methods
getBarTimeFrame()
Gets the Bar Time Frame in seconds. This is the number of seconds that each data-point represents on the CategoryDateAxis and is required for proper rendering. A default value of -1 allows the CategoryDateAxis to estimate the time frame
Declaration
public abstract double getBarTimeFrame()
Returns
Type | Description |
---|---|
double | The Bar Time Frame in seconds |
transformCoordinateToDate(float pixelCoordinate)
Transforms a pixel coordinate to the corresponding Date value.
Declaration
public abstract Date transformCoordinateToDate(float pixelCoordinate)
Parameters
Type | Name | Description |
---|---|---|
float | pixelCoordinate | The pixel coordinate to transform |
Returns
Type | Description |
---|---|
Date | The date value |
transformDateToCoordinate(Date date)
Transforms a date value to the pixel coordinate.
Declaration
public abstract float transformDateToCoordinate(Date date)
Parameters
Type | Name | Description |
---|---|---|
Date | date | The date value to transform |
Returns
Type | Description |
---|---|
float | The pixel coordinate |