This page was saved using jaction on 2006-09-04 8:33:52.
Address: http://flexdocs.kr/docs/flex2/langref/mx/charts/LogAxis.html
Title: mx.charts.LogAxis (Flex™ 2 레퍼런스 가이드)  •  Size: 61543
(Adobe Flex Charting 2 컴퍼넌트만)
Packagemx.charts
Classpublic class LogAxis
InheritanceLogAxis Inheritance NumericAxis Inheritance AxisBase Inheritance EventDispatcher Inheritance Object

LogAxis 클래스는, 최소치로부터 최대치의 사이의 수치를, 그래프의 축으로 따라 대수적으로 매핑 합니다. 디폴트에서는, 화면상의 모든 그래프 엘리먼트에 적합하도록(듯이),minimum,maximum, 및 interval 의 값이 그래프의 데이터로부터 결정됩니다. 이러한 property에 특정의 값을 명시적으로 설정할 수도 있습니다. LogAxis object에서는 부의 값이 올바르고 렌더링 되지 않습니다. 이것은, 부의 수의 Log10()가 undefined 이기 (위해)때문에입니다.

View the examples

See also

mx.charts.chartClasses.IAxis
축의 조작
NumericAxis 클래스에 도착해


Public property
 property정의
 InheritedautoAdjust : Boolean
Flex 로 값의 사사오입을 할지 어떨지를 지정합니다.
NumericAxis
 InheritedbaseAtZero : Boolean = true
Flex 로 minimummaximum 의 값을 0 대로 할지 어떨지를 지정합니다.
NumericAxis
 Inheritedbaseline : Number
계산된 축의 최소치입니다 (이 값이 0 보다 큰 경우에 한정해).
NumericAxis
 InheritedchartDataProvider : Object
주위를 둘러싸는 그래프에 할당할 수 있었던 데이터 프로바이더입니다.
AxisBase
 Inheritedconstructor : Object
특정의 object 인스턴스의 클래스 object 또는 constructor    함수에의 참조입니다.
Object
 InheriteddisplayName : String
축의 이름입니다.
AxisBase
  interval : Number
축으로 따른 승수 label치를 지정합니다.
LogAxis
 InheritedlabelFunction : Function
label로서 표시하기 위해서, 축의 값을 포맷 하기 위해서 불려 갑니다.
NumericAxis
  maximum : Number
축의 label의 최대치를 지정합니다.
LogAxis
  maximumLabelPrecision : Number
이 축으로야는 생성된 label로 소수치를 나타낼 때의 최대 소수 자리수를 지정합니다.
LogAxis
  minimum : Number
축의 label의 최소치를 지정합니다.
LogAxis
 InheritedminorTicks : Array
이 축을 나타내기 위해서(때문에) 생성된 작은 눈금의 배열입니다.
NumericAxis
 Inheritedpadding : Number
값을 화면상에 렌더링 할 때에, 계산된 축의 최소치 및 최대치에 추가하는 스페이스를 지정합니다.
NumericAxis
 InheritedparseFunction : Function
그래프에 의해 렌더링 된 값의 수치에의 변환 방법을 customize 하는 parseFunction 를 지정합니다.
NumericAxis
 Inheritedprototype : Object
[static] 클래스 또는 함수 object의 prototype object에의 참조입니다.
Object
 Inheritedtitle : String
축으로 따라 표시되는 타이틀의 텍스트입니다.
AxisBase
 InheritedunitSize : Number
이 축으로 표시되는 데이터의 1 단위의 크기입니다.
AxisBase
Protected property
 property정의
 InheritedassignedMaximum : Number
명시적으로 할당할 수 있었던 최대치입니다.
NumericAxis
 InheritedassignedMinimum : Number
명시적으로 할당할 수 있었던 최소치입니다.
NumericAxis
 InheritedcomputedInterval : Number
이 축이 나타내는 계산된 간격입니다.
NumericAxis
 InheritedcomputedMaximum : Number
이 축이 나타내는 계산된 최대치입니다.
NumericAxis
 InheritedcomputedMinimum : Number
이 축이 나타내는 계산된 최소치입니다.
NumericAxis
 InheriteddataDescriptions : Array
그래프로 나타내지는 데이터를 기술한 DataDescription 구조체의 배열입니다.
NumericAxis
 InheritedlabelCache : Array
이 축을 나타내기 위해서(때문에) 생성된 AxisLabel object의 최신세트입니다.
NumericAxis
 InheritedlabelMaximum : Number
label가 배치되는 최대치입니다.
NumericAxis
 InheritedlabelMinimum : Number
label가 배치되는 최소치입니다.
NumericAxis
 InheritedminorTickCache : Array
이 축을 나타내기 위해서(때문에) 생성된, 작은 눈금의 최신세트입니다.
NumericAxis
 InheritedrequiredDescribedFields : uint
이 축으로 영향을 주는 DescribeData 구조체의 필드입니다.
NumericAxis
 Inheritedticks : Array
이 축으로 사용되는 작은 눈금의 배열입니다.
NumericAxis
Public Methods
 Methods정의
  LogAxis ()
constructor   .
LogAxis
 InheritedaddEventListener (type:String , listener:Function , useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
event listener objects를 EventDispatcher object에 등록해, listener가 이벤트의 통지를 받도록(듯이) 합니다.
EventDispatcher
 InheriteddataChanged ():void
그래프 데이터가 변경되었을 때에, 범위의 object에 통지를 보내는 이벤트를 방아쇠 합니다.
AxisBase
 InheriteddispatchEvent (event:Event ):Boolean
이벤트를 event 플로우(flow)에 dispatch합니다.
EventDispatcher
 InheritedfilterCache (cache:Array , field:String , filteredString:String ):void
임의의 타입의 값세트에 필터를 걸어 MAP 할 수 있는 숫자세트로 합니다.
NumericAxis
 InheritedformatForScreen (value:Object ):String
DataTips 에서의 표시용으로치를 포맷 합니다.
NumericAxis
 InheritedgetLabelEstimate ():AxisLabelSet
축label를 예측하기 위한 범위를 결정합니다.
NumericAxis
 InheritedgetLabels (minimumAxisLength:Number ):AxisLabelSet
렌더링 되는 label 텍스트를 취득합니다.
NumericAxis
 InheritedhasEventListener (type:String ):Boolean
EventDispatcher object에, 특정의 event 타입에 대해서 등록된 listener가 있을지 어떨지를 확인합니다.
EventDispatcher
 InheritedhasOwnProperty (name:String ):Boolean
object로 지정된 property가 정의되고 있는지 어떤지를 나타냅니다.
Object
 InheritedinvertTransform (value:Number ):Object
축으로 대하는 위치를 수치 데이터의 값에 MAP 해 되돌립니다.
NumericAxis
 InheritedisPrototypeOf (theClass:Object ):Boolean
Object 클래스의 인스턴스가, Parameters로서 지정된 object의 prototype 체인내에 있을지 어떨지를 나타냅니다.
Object
 InheritedmapCache (cache:Array , field:String , convertedField:String , indexValues:Boolean = false):void
임의의 타입의 값세트를, 화면의 좌표로 환산할 수 있는 수치세트로 변환합니다.
NumericAxis
 InheritedpreferDropLabels ():Boolean
축으로 밤 겹치는 label의 처리 방법을 결정합니다.
NumericAxis
 InheritedpropertyIsEnumerable (name:String ):Boolean
지정된 property가 존재해, 열거 가능한가 어떤가를 나타냅니다.
Object
 InheritedreduceLabels (intervalStart:AxisLabel , intervalEnd:AxisLabel ):AxisLabelSet
AxisRenderer 가 label를 겹치지 않게 렌더링 하지 못하고, Axis object에 의해 label세트가 줄여지도록(듯이) 하는 경우에 기동됩니다.
NumericAxis
 InheritedregisterDataTransform (transform:DataTransform , dimensionName:String ):void
축을 사용하는 각 DataTransform 가, 그 축으로 자동적으로 등록됩니다.
AxisBase
 InheritedremoveEventListener (type:String , listener:Function , useCapture:Boolean = false):void
EventDispatcher object로부터 listener를 삭제합니다.
EventDispatcher
 InheritedsetPropertyIsEnumerable (name:String , isEnum:Boolean = true):void
루프 처리에 대한 다이나믹 property의 가용성을 설정합니다.
Object
 InheritedtoString ():String
지정된 object의 string 표현을 돌려줍니다.
Object
 InheritedtransformCache (cache:Array , field:String , convertedField:String ):void
값세트를 데이터 area로부터 스크린 area에 MAP 합니다.
NumericAxis
 InheritedunregisterDataTransform (transform:DataTransform ):void
축을 사용하는 각 DataTransform 가, 그 축으로 자동적으로 등록됩니다.
AxisBase
 Inheritedupdate ():void
그래프를 갱신합니다.
NumericAxis
 InheritedvalueOf ():Object
지정된 object의 원시적치를 돌려줍니다.
Object
 InheritedwillTrigger (type:String ):Boolean
지정된 event 타입에 대해, 이 EventDispatcher object 또는 그 조상에게 event listener가 등록되어 있는지 어떤지를 확인합니다.
EventDispatcher
Protected Methods
 Methods정의
 InheritedadjustMinMax (minValue:Number , maxValue:Number ):void
축의 label의 생성 또는 할당 범위를 조정합니다.
NumericAxis
 InheritedbuildLabelCache ():Boolean
축의 현재의 값을 나타내는 label로 labelCache property의 값을 설정합니다.
NumericAxis
 InheritedbuildMinorTickCache ():Array
이 축으로야는 생성되는 작은 눈금의 배열에 대한 위치의 배열을 구축합니다.
NumericAxis
 InheriteddescribeData (requiredFields:uint ):Array
이 IChartElement 로 나타내지는 데이터의 기술을 취득하기 위해서, 관리하는 DataTransform 에 의해 불려 갑니다.
AxisBase
 InheritedguardMinMax (min:Number , max:Number ):Array
이 축타입에 대해, 소정의 범위를 무효인 값으로부터 보호합니다.
NumericAxis
 InheritedinvalidateCache ():void
이 축의 값을 나타내는 캐쉬된 label 및 눈금을 무효화합니다.
NumericAxis
property의 상세
intervalproperty
interval:Number   [read-write]

축으로 따른 승수 label치를 지정합니다. 값이 10 인 경우는 1, 10, 100, 1000 등에 label가 생성됩니다. 값이 100 인 경우는, 1, 100, 10000 등에 label가 생성됩니다. 이 property가 NaN 로 설정되어 있는 경우는, Flex 에 의해 label의 간격이 계산됩니다. label의 간격은 10 의 짝수승, 한편 10 이상일 필요가 있습니다. 필요한 경우는, LogAxis 에 의해 간격이 10 의 짝수승에 잘라 버릴 수 있습니다.

디폴트치10.

Implements
    public function get interval():Number
    public function set interval(value:Number ):void
maximumproperty 
maximum:Number   [read-write]

축의 label의 최대치를 지정합니다. NaN 의 경우는, 그래프의 데이터로부터 최대치가 결정됩니다. 최대치는 10 의 짝수승일 필요가 있습니다. 필요한 경우는, LogAxis 에 의해 명시적인 최대치가 10 의 짝수승에 끝맺을 수 있습니다.

디폴트치NaN.

Implements
    public function get maximum():Number
    public function set maximum(value:Number ):void
maximumLabelPrecisionproperty 
maximumLabelPrecision:Number   [read-write]

이 축으로야는 생성된 label로 소수치를 나타낼 때의 최대 소수 자리수를 지정합니다. 디폴트에서는, 축은 이 값을 label 자체로부터 자동 생성합니다. 값이 0 의 경우, 바로 옆의 정수치에 사사오입 합니다. 값이 2 의 경우, 값의 것 1/100 의 자리수로 바로 옆의 수에 사사오입 합니다.

Implements
    public function get maximumLabelPrecision():Number
    public function set maximumLabelPrecision(value:Number ):void
minimumproperty 
minimum:Number   [read-write]

축의 label의 최소치를 지정합니다. NaN 의 경우는, 그래프의 데이터로부터 최소치가 결정됩니다. 최소치는 10 의 짝수승일 필요가 있습니다. 필요한 경우는, LogAxis 에 의해 명시적인 최소치가 10 의 짝수승에 잘라 버릴 수 있습니다.

디폴트치NaN.

Implements
    public function get minimum():Number
    public function set minimum(value:Number ):void
constructor    의 상세
LogAxis()constructor   
public 함수 LogAxis()

constructor   .

Examples
LogAxisExample
<? xml version="1.0"? >
<! -- Simple example to demonstrate the LogAxis class.  -->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">

    <mx:Script>
        <! [CDATA[

        import mx.collections.ArrayCollection;

        [Bindable]
        private var expensesAC:ArrayCollection = new ArrayCollection( [
            { Month: "Jan", Profit: 20000, Expenses: 1500, Amount: 450 },
            { Month: "Feb", Profit: 1000, Expenses: 15000, Amount: 600 },
            { Month: "Mar", Profit: 15000, Expenses: 5000, Amount: 300 },
            { Month: "Apr", Profit: 1800, Expenses: 1200, Amount: 900 },
            { Month: "May", Profit: 2400, Expenses: 575, Amount: 500 } ]);
        ]]>
    </mx:Script>

    <mx:Panel title="LogAxis Example" height="100%" width="100%">

        <mx:LineChart id="linechart" height="100%" width="100%"
            paddingLeft="5" paddingRight="5" 
            showDataTips="true" dataProvider="{expensesAC}">
                
            <mx:horizontalAxis>
                <mx:CategoryAxis categoryField="Month"/>
            </mx:horizontalAxis>
                
            <mx:verticalAxis>
                <mx:LogAxis interval="10"/>
            </mx:verticalAxis>
                
            <mx:series>
                <mx:LineSeries yField="Profit" form="curve" displayName="Profit"/>
                <mx:LineSeries yField="Expenses" form="curve" displayName="Expenses"/>
                <mx:LineSeries yField="Amount" form="curve" displayName="Amount"/>
            </mx:series>
        </mx:LineChart>

        <mx:Legend dataProvider="{linechart}"/>

    </mx:Panel>
</mx:Application>






 

코멘트가 추가되었을 경우, 메일로 받기. | 코멘트 리포트

현재의 페이지: http://flexdocs.kr/docs/flex2/langref/mx/charts/LogAxis.html