2020-10-20 00:58:15 +02:00

49 lines
1.3 KiB
ActionScript
Executable File

/*
Copyright (c) 2009 Yahoo! Inc. All rights reserved.
The copyrights embodied in the content of this file are licensed under the BSD (revised) open source license
*/
package com.yahoo.astra.fl.charts.axes
{
import com.yahoo.astra.fl.charts.series.IStackedSeries;
/**
* A type of axis that allows values to be stacked.
*
* @author Josh Tynjala
*/
public interface IStackingAxis extends IAxis
{
//--------------------------------------
// Properties
//--------------------------------------
/**
* If true, the axis will allow the stacking of series that implement
* the interface IStackedSeries.
*
* <p>Must be explicitly enabled.
*
* @see com.yahoo.astra.fl.charts.series.IStackedSeries
*/
function get stackingEnabled():Boolean;
/**
* @private
*/
function set stackingEnabled(value:Boolean):void;
//--------------------------------------
// Methods
//--------------------------------------
/**
* Calculates the sum of values if they were stacked on the axis.
* The first value is important because some axis types, such as
* NumericAxis, may differentiate between positive and negative values.
*
* @see NumericAxis
*/
function stack(top:Object, ...rest:Array):Object;
}
}