0

ZK Charts: Export Button ZIndex

asked 2016-04-13 09:26:52 +0800

IngoB gravatar image IngoB flag of Germany
256 6

Hi,

I got a Chart with several Series in it. I want to export it and want to click on the burgermenu at the top right.

My problem is that it is really difficult to click it, since the series are always in front. I read an article, where it is said, that I have to change the zIndex of the button (example).

exporting: {
    buttons: {
        contextButton: {
            theme: {
                zIndex: 100   
            }
        }
    }
},

I'm unable to find to find the contextButton to set the zIndex (myCharts.getExporting().getButtons() ...?) . How do I alter the zIndex of the button, like in the example?


ZK 8.0.1.1; ZK Charts 2.1.1; FF 45.0.2

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-04-13 11:48:16 +0800

IngoB gravatar image IngoB flag of Germany
256 6

Found it by myself

ExportingButton exportingButton = myChart.getExporting().getButtons();
Map<String, String> style = new HashMap<String, String>();
style.put("zIndex", "100");
exportingButton.setTheme(style);
link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2016-04-13 09:26:52 +0800

Seen: 12 times

Last updated: Apr 13 '16

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More