pingjiang / dygraphs

Automatically exported from code.google.com/p/dygraphs
0 stars 0 forks source link

cannot hide only the Y2 axis #528

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hiding the Y2 axis only seems to work in a fashion like this:

g3 = new Dygraph(document.getElementById("graph"),
                   data, 
                    {
                        title: 'Graph',
                        series: {
                            'Name': {
                                    fillGraph: true,
                                    axis: 'y2'
                                }
                        },
                        drawYAxis: false
                    } );

There doesn't seem to be a way to hide only the y2 axis.  I need this for 
example when I have different series with different scales, but the y2 scale I 
don't want to see.

What seems to be missing is a configuration for "drawY2Axis".

Original issue reported on code.google.com by m...@mikebrancato.com on 13 Oct 2014 at 4:52

GoogleCodeExporter commented 9 years ago
Migrated to https://github.com/danvk/dygraphs/issues/444

Original comment by danvdk on 20 Oct 2014 at 11:18