Klakurka

FusionTime Log Y-Axis

Recommended Posts

Hi there,

We have a TimeSeries chart that we would like to also display with a log scale on the y-axis. For some reason, it's not working (displays as linear even with yAxis.type = 'log').

The chart has 3 series.

We are using this as a reference: https://www.fusioncharts.com/dev/fusiontime/fusiontime-component/y-axis-in-fusiontime

Currently, we only have yAxis.type populated:

yaxis: [
      {
        type: "log"
      }
    ]

Do we need the plot.value property to have a value that matches the series? Do we need 3 of these objects inside 'yAxis' as there are 3 series?

Thanks

Share this post


Link to post
Share on other sites

Hi Klakurka,

Thank you for writing to us. Apologies for the delayed response.

We would like to inform you that you will need to define the plot.value property with series name (as in schema) as value along-width 'type' property with 'log' value for each of the 3 series in separate objects inside yAxis array to correctly implement the logarithmic yAxis. 

Please refer to this fiddle for the implementation: https://jsfiddle.net/mLfs435b/

Thanks,

Srishti Jaiswal

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