DWH

Dual Y Axix

Recommended Posts

Hi,

In FusionCharts, you can have two separate axes in a chart by using our Dual Y axis charts (https://www.fusioncharts.com/dev/chart-guide/standard-charts/combination-charts#2d-dual-y-axis-combination-chart)

However, you need to specify the "parentYAxis" as "P" or "S" under the dataset object to indicate whether that dataset is using the Primary (left) or the Secondary (right) Y axis.

Hence, in your provided chart image, try specifying the parentYAxis as "S" for the Profit % measure to indicate it's using the Secondary axis.

Please refer to this demo: http://jsfiddle.net/srishti_fc/xfakcorn/

 

Hope this will help.

Thanks,

Srishti

Share this post


Link to post
Share on other sites

Hi,

From version 3.13.0 visualization of dual y-axis multi-series chart is changed. Now, if the data plots for both the axes are set as column, the secondary plots overlaps the primary plots.

Demo: https://jsfiddle.net/srishti_fc/xfakcorn/1/

Reference: https://docs.fusioncharts.com/archive/3.13.0/upgrading/changed-behavior#secondary-data-plots-overlap-primary-data-plots-3

Please refer to the sample and check if the second measure is using the secondary y axis or not.

Hope this will help.

Thanks,

Srishti

Share this post


Link to post
Share on other sites

Hi,

The kind of visualization you shared in the mock up image is of overlapped column chart and the dual y axis feature is not available in overlapped column chart type.

Reference: https://www.fusioncharts.com/dev/chart-guide/standard-charts/overlapped-column-and-bar-charts

 

Also, before version 3.13.0 visualization of dual y-axis multi-series chart was like the usual multi-series chart type and not overlapped one.

image.png.dbafb6c5a2d25f23066a52f6f97b70b7.png

Reference: https://docs.fusioncharts.com/archive/3.13.0/upgrading/changed-behavior#secondary-data-plots-overlap-primary-data-plots-3

 

However, there is a way to achieve the older visualization as in your shared image, by applying an extension. If you required the extension for the older visualization (without overlapping columns) please drop a mail at [email protected] explaining your query for further assistance.

 

Hope this will help.

Thanks,

Srishti

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