Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/apache-flex/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Apache flex 如何在flex中设置折线图的y轴最小值_Apache Flex_Flex4 - Fatal编程技术网

Apache flex 如何在flex中设置折线图的y轴最小值

Apache flex 如何在flex中设置折线图的y轴最小值,apache-flex,flex4,Apache Flex,Flex4,我创建了一个图表,我想显示一些巨大的数字,比如50004800。。。 但是y轴的最小值为0,并且直线看起来太平滑。 我希望y值范围在[30006000]之内,那么我应该怎么做?有什么属性吗? 我可以设置y轴的长度吗 尝试使用以下代码:- <mx:LineChart id="lineChart" showDataTips="true" dataProvider="{YourDataProvider}"

我创建了一个图表,我想显示一些巨大的数字,比如50004800。。。 但是y轴的最小值为0,并且直线看起来太平滑。 我希望y值范围在[30006000]之内,那么我应该怎么做?有什么属性吗?
我可以设置y轴的长度吗

尝试使用以下代码:-

<mx:LineChart id="lineChart"
                      showDataTips="true"
                      dataProvider="{YourDataProvider}"
                      width="100%"
                      height="100%">
            <mx:verticalAxis>
                <mx:LinearAxis id="ca" 
                               title="XMLList attribute"
                               minimum="3000"
                               maximum="6000"/>
            </mx:verticalAxis>

        </mx:LineChart>
希望这将有助于