package

com.shinobicontrols.charts

A high-performance charting framework for the Android platform.

Add a ChartView or ChartFragment to your app either in XML or programmatically. Retrieve it in code and obtain a ShinobiChart from it using the getShinobiChart() method. From here you can add axes and series to your chart, and data to your series via a DataAdapter. You can also customize the visual style of the various chart components by modifying their style object.

For more information, see the User Guide supplied with the download bundle (index.html in the docs folder).

Interfaces

Data<Tx, Ty> Defines a data point for a Series on a chart. 
DataAdapter.OnDataChangedListener Callback interface for listening to changes in the data held by a DataAdapter
DataValueInterpolator<Tx, Ty> Responsible for providing a modified copy of a given List of Data items. 
MultiValueData<T> Defines a data point that can be used with OHLC, Candlestick or Band series. 
SelectableData Defines a data point that can have a selection state set before it is loaded into the chart. 
SeriesStyleProvider<T extends SeriesStyle> Provides a concrete SeriesStyle implementation based on the properties of a given Data and Series, allowing individual point styling of a Series
ShinobiChart Displays data arranged in either CartesianSeries or PieDonutSeries
ShinobiChart.OnAxisMotionStateChangeListener Interface definition for a callback to be invoked when the motion state of an axis changes  
ShinobiChart.OnAxisRangeChangeListener Interface definition for a callback to be invoked when an axis range changes  
ShinobiChart.OnCrosshairActivationStateChangedListener Interface definition for a callback to be invoked when the Crosshair activation state changes. 
ShinobiChart.OnCrosshairDrawListener Interface definition for a callback to be invoked when a crosshair is about to be drawn. 
ShinobiChart.OnGestureListener Interface definition for callbacks to be invoked when the user makes touch gestures. 
ShinobiChart.OnInternalLayoutListener Interface definition for a callback to be invoked when the internal layout of the chart is complete  
ShinobiChart.OnPieDonutSliceLabelDrawListener Interface definition for a callback to be invoked when a pie or donut series label is about to be drawn. 
ShinobiChart.OnPieDonutSliceUpdateListener Interface definition for a callback to be invoked after a pie or donut slice has been created. 
ShinobiChart.OnSeriesAnimationListener Interface definition for a callback to be invoked when a series animation ends. 
ShinobiChart.OnSeriesSelectionListener Interface definition for a callback to be invoked when a series or point is selected or deselected. 
ShinobiChart.OnSnapshotDoneListener Interface definition for a callback to be invoked when a snapshot has been taken and is ready for use. 
ShinobiChart.OnTickMarkDrawListener Interface definition for a callback to be invoked when a tick mark is about to be drawn. 
ShinobiChart.OnTickMarkUpdateListener Interface definition for a callback to be invoked after a tick mark has been created. 
ShinobiChart.OnTrackingInfoChangedForCrosshairListener Interface definition for a callback to be invoked when the current series and data point tracking information has changed as a result of a user gesture. 
ShinobiChart.OnTrackingInfoChangedForTooltipListener Interface definition for a callback to be invoked when the current series and data point tracking information has changed as a result of a user gesture. 

Classes

AnimationCurve An animation curve defines how a value controlled by an animation varies with time. 
Annotation An annotation allows a android.view.View to be displayed on the plot area of a chart. 
AnnotationsManager The annotations manager handles the creation, addition and removal of Annotation objects on behalf of the ShinobiChart
AnnotationStyle Visual style properties for annotations attached to the chart. 
Axis<T extends Comparable<T>, U> Responsible for managing the coordinate space of the chart. 
AxisStyle Visual style properties for the Axis
AxisTitleStyle Controls the look and feel for the axis title. 
BandSeries Displays a band series on the chart. 
BandSeriesStyle Visual style properties for BandSeries If you make any styling changes after the chart has been displayed, you should call chart.redrawChart(). 
BarSeries Displays a BarSeries on the chart. 
BarSeriesStyle Style properties specific to BarSeries that manage its look and feel. 
BounceAnimationCurve This curve evaluator describes a curve where the value starts at 0, climbs past 1 and passes it, then returns to 1, creating a bounce effect. 
BounceDelayAnimationCurve This curve evaluator describes a curve similar to that described by BounceAnimationCurve but where the bounce occurs over a shorter proportion of the duration (50%). 
BuildConfig  
CandlestickSeries Displays a candlestick series on the chart. 
CandlestickSeriesStyle Visual style properties for CandlestickSeries
CartesianSeries<T extends SeriesStyle> Abstract base class for cartesian series. 
CategoryAxis A CategoryAxis is a subclass of NumberAxis designed to work with discrete data points with no linear correlation between values. 
ChartFragment Allows a chart to be placed inside an Android android.app.Fragment. 
ChartStyle Visual style properties for ShinobiChart
ChartUtils Utility class to provide useful helper methods for drawing and updating the chart elements. 
ChartView Allows a chart to be placed inside an Android android.view.View. 
ColumnSeries Displays a ColumnSeries on the chart. 
ColumnSeriesStyle Style properties specific to ColumnSeries that manage its look and feel. 
Crosshair The Crosshair provides a small circle target with lines that extend to the axis. 
CrosshairStyle Visual style properties for a chart's Crosshair
DataAdapter<Tx, Ty> Abstract base class for an ordered collection of Data objects which it holds for, and provides to, a Series
DataPoint<Tx, Ty> Represents a simple XY data point for a Series on a ShinobiChart
DateFrequency A date/time frequency, expressed as a quantity of time units. 
DateRange Subclass of Range that is specific to Date; each element is represented by a Date. 
DateTimeAxis Subclass of Axis that is designed to work with date/time data points. 
DefaultTooltipView The android.view.View used by default by the Tooltip to present information to the user in response to a tracking gesture, such as a long press to activate the Crosshair or a swipe while the crosshair is active to move it. 
DelayBounceAnimationCurve This curve evaluator describes a curve similar to that described by BounceAnimationCurve but at the start the curve is constant at 0. 
DelayBounceWithMinimumAnimationCurve This curve evaluator describes a curve similar to that described by BounceAnimationCurve but at the start the curve is constant at 0.1. 
DonutSeries A Donut Series displays magnitude data on the chart - the larger the value of the datapoint, the larger the slice representing that datapoint. 
DonutSeriesStyle Visual style properties for DonutSeries
EaseInAnimationCurve This curve starts off slowly at 0.0, creating a gentle initial phase, then accelerates past 0.5 to reach 1.0. 
EaseInOutAnimationCurve This curve starts off slowly at 0.0, creating a slow initial phase. 
EaseOutAnimationCurve This curve starts off steadily at 0.0, passes 0.5 then decelerates to reach 1.0, creating a slow exit phase. 
FlatAnimationCurve This flat curve evaluator returns 1.0f (finished) for all values of time. 
GridlineStyle Visual style properties for a set of axis gridlines. 
GridStripeStyle Visual style properties for a set of axis grid stripes. 
Legend Series data can be displayed in a legend on a ShinobiChart
LegendStyle Visual style properties for the chart's Legend
LinearAnimationCurve This curve progresses at a constant speed from 0.0 to 1.0. 
LineSeries LineSeries is a type of Series that uses the data points to construct a line series. 
LineSeriesStyle Visual style properties for LineSeries If you make any styling changes after the chart has been displayed, you should call redrawChart()
MainTitleStyle Visual style properties relating to the ShinobiChart title. 
MultiValueDataPoint<Tx, Tv> A concrete data point class that can be used with OHLC, Candlestick or Band series. 
NumberAxis Subclass of Axis that is designed to work with numerical data points. 
NumberRange Subclass of Range that is specific to Double; each element is represented by a Double. 
OHLCSeries Displays an OHLC series on the chart. 
OHLCSeriesStyle Visual style properties for OHLCSeries
PieDonutSeries<T extends PieDonutSeriesStyle> Abstract base class for pie or donut series. 
PieDonutSlice A single slice of a pie or donut series. 
PieSeries A Pie Series displays magnitude data on the chart - the larger the value of the datapoint, the larger the slice representing that datapoint. 
PieSeriesStyle Visual style properties for PieSeries
PointStyle Visual style properties for data points within chart series. 
R  
R.attr  
R.bool  
R.color  
R.dimen  
R.string  
R.style  
R.styleable  
Range<T extends Comparable<T>> Base class for several range types. 
RepeatedTimePeriod Represents a repeating period of time. 
Series<T extends SeriesStyle> Abstract base class that represents series displayed on a chart. 
SeriesAnimation A SeriesAnimation object determines how a Series is animated. 
SeriesStyle Common visual style properties for a Series
SimpleDataAdapter<Tx, Ty> An ordered collection of Data objects which it holds for, and provides to, a Series
SupportChartFragment Allows a chart to be placed inside an Android android.support.v4.app.Fragment. 
TickMark A single tick mark on an axis. 
TickStyle Visual style properties for a set of axis tick marks. 
Title A title object used by the chart and chart axes to display a android.widget.TextView with appropriate text. 
TitleStyle Visual style properties for a title. 
Tooltip Presents information to the user when a tracking gesture is performed, such as a long press to activate the Crosshair or a swipe while the crosshair is active to move it. 

Enums

Annotation.Position Defines whether the annotation is positioned into front of or behind the data on the chart's plot area. 
Axis.DoubleTapBehavior Describes the behavior of the axis when the chart receives a double tap gesture. 
Axis.MotionState States describing internally generated axis range changes. 
Axis.Orientation The orientation of the axis. 
Axis.Position The position of the axis on the chart. 
Crosshair.DrawLinesBehavior The behavior of the crosshair with respect to how it draws its lines. 
Crosshair.Mode The behavior mode for the crosshair when tracking series. 
Crosshair.OutOfRangeBehavior The behavior of the crosshair when it is moved out of the visible range. 
DateFrequency.Denomination The unit of time: second, minute, hour, day, week, month, year. 
Legend.Placement How the legend is placed on its chart relative to the chart's plot area. 
Legend.Position The position of the legend relative to its chart. 
Legend.SymbolAlignment The alignment of the symbols representing a Series in the Legend, in relation to the text label for the series title. 
PieDonutSeries.DrawDirection Identifies the order, starting at the initial rotation as specified in PieSeries or DonutSeries, in which slices are drawn. 
PieDonutSeries.RadialEffect A textured effect to apply to each slice. 
Series.GestureSelectionMode What should be selected when the user taps the chart. 
Series.Orientation The orientation of a series  
Series.SelectionMode This enum is deprecated. As of version 1.8.3, replaced by Series.GestureSelectionMode  
SeriesStyle.FillStyle The style for filled areas. 
TickMark.ClippingMode The clipping mode of the tick marks. 
TickMark.Orientation The orientation of the tick mark label. 
Title.CentersOn Determines what the title is centered on. 
Title.Orientation Determines the orientation of the title is positioned, horizontal or vertical. 
Title.Position Determines where the title is positioned, relative to the chart or axis. 

Exceptions

InvalidLicenseException Thrown when, in the shinobicharts Trial Version, a ShinobiChart tries to render and a valid license key has not been set on the chart (via setLicenseKey(String)).