Home Analytics Designing reports
The community of Analytics developers are invited to follow and participate in the developer network.
OpenText technical experts collaborate with supported customers and partners in the Magellan product area.

Dynamic Y-axis scale

2»

Comments

  • <p>Thanks Clement Wong. I will give it a try.</p>
  • edited March 25, 2019

    Hey,
    I am trying to use this script
    beforeRendering: function(options, chart)

    {

    if (chart.getYAxisMax() < 1000000)

    options.yAxis[0].labels.formatter = function() {
    
            return (this.value / 10000) + ' K';
    
    };
    

    else if (chart.getYAxisMax() > 1000000)

    options.yAxis[0].labels.formatter = function() {
    
            return (this.value / 1000000) + ' M';
    
    };
    

    },

    to modify a scale on a x - Axis to Min 1000000 and max 10,000,000 and also to show 000,000 as M
    but it wont work for me, could anyone help for the script please ?
    eclipse.org/birt/2005/design" version="3.2.23"
    OpenText Analytics Designer
    Version: 24.4.0

Sign In or Register to comment.