blob: 0a49f9a602583b37c3e300c0f1ab55e346a518c9 [file] [log] [blame]
////////////////////////////////////////////////////////////////////////////////
//
// Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership.
// The ASF licenses this file to You under the Apache License, Version 2.0
// (the "License"); you may not use this file except in compliance with
// the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
////////////////////////////////////////////////////////////////////////////////
package mx.charts.chartClasses
{
/**
* An AxisLabelSet represents the label and tick data
* generated by an implementation of IAxis.
*
* @langversion 3.0
* @playerversion Flash 9
* @playerversion AIR 1.1
* @productversion Flex 3
*/
public class AxisLabelSet
{
include "../../core/Version.as";
//--------------------------------------------------------------------------
//
// Constructor
//
//--------------------------------------------------------------------------
/**
* Constructor.
*
* @langversion 3.0
* @playerversion Flash 9
* @playerversion AIR 1.1
* @productversion Flex 3
*/
public function AxisLabelSet()
{
super();
}
//--------------------------------------------------------------------------
//
// Properties
//
//--------------------------------------------------------------------------
//----------------------------------
// accurate
//----------------------------------
[Inspectable(environment="none")]
/**
* When returned from the <code>getLabelEstimate()</code> method,
* set to <code>true</code> if the estimate accurately represents
* the final labels to be rendered. This property is irrelevant
* in other contexts.
*
* @langversion 3.0
* @playerversion Flash 9
* @playerversion AIR 1.1
* @productversion Flex 3
*/
public var accurate:Boolean;
//----------------------------------
// labels
//----------------------------------
[Inspectable(environment="none")]
/**
* An array of AxisLabel objects
* representing the values of the generating axis.
*
* @langversion 3.0
* @playerversion Flash 9
* @playerversion AIR 1.1
* @productversion Flex 3
*/
public var labels:Array /* of AxisLabel */;
//----------------------------------
// minorTicks
//----------------------------------
[Inspectable(environment="none")]
/**
* An array of values from 0 to 1
* representing where to place minor tick marks along the axis.
*
* @langversion 3.0
* @playerversion Flash 9
* @playerversion AIR 1.1
* @productversion Flex 3
*/
public var minorTicks:Array /* of Number */;
//----------------------------------
// ticks
//----------------------------------
[Inspectable(environment="none")]
/**
* An array of values from 0 to 1
* representing where to place tick marks along the axis.
*
* @langversion 3.0
* @playerversion Flash 9
* @playerversion AIR 1.1
* @productversion Flex 3
*/
public var ticks:Array /* of Number */;
}
}