Sign in to follow this  
djfiii

Combination 3D Bar / Line Dual Y Chart - How do you define dataset as bar or line?

Recommended Posts

I know this is possible because I have done it before (I think??). I am working with the MSColumn3DLineDY chart, and the ASP class to set all of my params. I have a dual Y axis with numbers on the left (primary) axis and % on the right (secondary) axis.

The only way I can seem to make a dataset render as line is to indicate that it belongs to the sYAxis - but then it shows data labels in %, which I don't want. I will have 4 datasets in total, as follows:

Dataset 1: 3DBar (left Y Axis - represents number, "ending balance")

Dataset 2: Line (left Y Axis - represents number, "number opened")

Dataset 3: Line (left Y Axis - represents number, "number closed")

Dataset 4: Line (right Y Axis - represents %, "percentage on-time")

I thought this was accomplished via the dataset attribute "renderAs=Line", however when I pass through the method as follows:

 

 Call FC.addDataset("Number Opened","renderAs=Line")

OR

Call FC.addDataset("Number Opened","parentYAxis=P;renderAs=Line")

these do not work, it just renders as another bar. I verified that it passes through to generated XML, it's just that the swf is not rendering it as a line. I also didn't see this attribute in the API, but read on one of the examples that you could pass renderAs=Line to a dataset.

Any help would be appreciated!!

Thanks,

David

 

 

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
Sign in to follow this