manova-1

JS Render Bug X-Axis

Recommended Posts

Hey,

 

In JavaScript mode, the values being displayed along X axis is the startValue of vTrendLines.The startValue is not being displayed in Flash and it has been identified as a bug and internally fixed.

 

To hide the values appearing in X axis, please try setting "displayValue" attribute of vTrendLines as follows.

 

Ref.Code:

    "vTrendLines": [
        {
            "line": [
                {
                    "alpha": 80,
                    "startValue": 0,
                    "color": "FF0000",
                    "endValue": 0.25,
                    "displayValue": " "
                },
                {
                    "alpha": 80,
                    "startValue": 0.25,
                    "color": "FFA500",
                    "endValue": 0.5,
                     "displayValue": " "
                },
                {
                    "alpha": 80,
                    "startValue": 0.5,
                    "color": "FFFF00",
                    "endValue": 0.75,
                    "displayValue": " "
                },
                {
                    "alpha": 80,
                    "startValue": 0.75,
                    "color": "008000",
                    "endValue": 1,
                    "displayValue": " "
                }
            ]
        }
    ]

Share this post


Link to post
Share on other sites

Another thing. same macro. How can I get the x-Axis-Name and y-Axis-Name to have the same distance to their axes? 

 

This time it works as expected in Javascript. but Flash is not behaving differently. 

 

I already tried combinations of 

 

 

xAxisNamePadding

yAxisNamePadding

labelPadding

chartLeftMargin

and Chart height. 

 

nothing worked so far. 

 

JS Fiddle example: http://jsfiddle.net/socialhack/B2FJD/1/

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now