Jump to content
Software FX Community

Option "Stacked" in properties dialog

User (Legacy)

Recommended Posts

Is you have only ONE axis why do cfx.Series(0).YAxis = AXIS_Y ?

This tell us that you want to set axis in a per-series basis. We don't go

checking whether all are the same or not, one you set axis in a per-series

basis we assume you are going to use more than one otherwise why would you

use this property.

To reset ALL series to have the same Y-Axis do:

cfx.Series(-1).YAxis = AXIS_Y



Software FX

Link to comment
Share on other sites

  • 4 weeks later...

You need to stack them is two separate groups, sacking series on different

axis will produce unpredictable results.

For example:

chart.Series(0).Stacked = TRUE

chart.Series(1).Stacked = TRUE

chart.Series(2).Stacked = FALSE ' Breaks this series into a new group

chart.Series(3).Stacked = TRUE

Assuming series 0 and 1 are in one axis and series 2 and 3 are in the other,

this code will produce a chart with TWO side-by-side bars per point each of

these bars will be broken into two stacked segments.



Software FX, Inc.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...