private BrowserUsageData getOperaUsageData ( ) { BrowserUsageData data = new BrowserUsageData ( ) ; data . setBrowserName ( "Opera" ) ; data . setMarketShare ( 2.14f ) ; ColorReference operaColor = new HighchartsColor ( 4 ) ; data . setColor ( operaColor ) ; data . getVersionUsageData ( ) . add ( new VersionUsageData ( "Opera 9.x" , 0.12f , operaColor . brighten ( 0.1f ) ) ) ; data . getVersionUsageData ( ) . add ( new VersionUsageData ( "Opera 10.x" , 0.37f , operaColor . brighten ( 0.2f ) ) ) ; data . getVersionUsageData ( ) . add ( new VersionUsageData ( "Opera 11.x" , 1.65f , operaColor . brighten ( 0.3f ) ) ) ; return data ; }
Creates the Opera data .