WindTheBusiness/com/yahoo/astra/fl/charts/series/ISeriesItemRenderer.as
2020-10-20 00:58:15 +02:00

47 lines
1.2 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.series
{
import flash.events.IEventDispatcher;
/**
* A renderer for an item in a series on a chart.
*
* <p>Important: Must be a subclass of <code>DisplayObject</code></p>
*
* @see flash.display.DisplayObject
* @author Josh Tynjala
*/
public interface ISeriesItemRenderer extends IEventDispatcher
{
//--------------------------------------
// Properties
//--------------------------------------
/**
* The data provider for the item that this item renderer represents.
* Custom implementations of <code>ISeriesItemRenderer</code>
* may use this property to render additional information for
* the user.
*/
function get data():Object;
/**
* @private
*/
function set data(value:Object):void;
/**
* The series data that is displayed by this renderer.
*/
function get series():ISeries;
/**
* @private
*/
function set series(value:ISeries):void;
}
}