Dynamic Y-axis scale
Comments
-
<p>Thanks Clement Wong. I will give it a try.</p>
0 -
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.00
Categories
- All Categories
- 108 Developer Announcements
- 53 Articles
- 106 General Questions
- 144 IM Services
- 43 OpenText Hackathon
- 32 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 899 Cloud Fax and Notifications
- 77 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 120 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management