Menu

Wrong Z-axis position

2017-01-19
2017-01-20
  • Tomasz Balawajder

    Hi!

    I'm using Moxie GWT Highcharts 1.7.0. I have trouble with 3D chart. From Highcharts 5.0.0 Z-axis in every charts is in wrong posision. See example:

    Any suggestions how to resolve this problem?

     

    Last edit: Tomasz Balawajder 2017-01-19
  • Shawn Quinn

    Shawn Quinn - 2017-01-19

    Not sure if you're asking about a GWT issue or a Highcharts rendering issue here. If you're not seeing the results rendering the way you'd expect with a 3D chart, you may have better luck connecting with the support/forum at Highcharts (details: http://www.highcharts.com/support) . If you're having trouble with the way you setup the chart configurations in a GWT application though, can you post a simplified code example here that demonstrates the problem?

     
  • Tomasz Balawajder

    Previous version of my application works with Highcharts 4.2.7 and charts works fine. This problem not occurs in pure java script - see exsample: http://www.highcharts.com/demo/3d-scatter-draggable

    I ran code from your showcase application (http://www.moxiegroup.com/moxieapps/gwt-highcharts/showcase/#3DChart-scatter) and it don't work properly with Highcharts 5.0.0 (image above). Did you try to run showcase application with newest Highcharts version?

     

    Last edit: Tomasz Balawajder 2017-01-20
  • Shawn Quinn

    Shawn Quinn - 2017-01-20

    We have not yet tried the Highcharts 5.x JS version with the Showcase application, but we have upgraded other applications to use Highcharts 5.0.6 - and so far have had good luck (although, I can't think of anywhere where we've tried 3d charts with 5.x yet.) If you can boil your use case down to a simple example and post here, someone may be able to help you better debug.

     
  • Tomasz Balawajder

    Sorry for late replay. It's simple example code that works properly with Highcharts 4.2.7 and doesn't work with Highcharts 5.0.0.

    Chart chart = new Chart()
            .setType(Series.Type.SCATTER)
            .setOptions3D(new Options3D()
                    .setEnabled(true)
                    .setAlpha(10)
                    .setBeta(30)
                    .setDepth(250)
                    .setViewDistance(5));
    
    chart.addSeries(chart.createSeries()
                .setName("Series")
                .setPoints(new Number[][] {
                        {0, 0, 0}
                }));
    

    This is result with 4.2.7:

    and with 5.0.0:

     

Log in to post a comment.