Qlikview with Button control convert chart type (for example, into a vertical bar chart)

Source: Internet
Author: User

The Qlikview chart can be easily configured by examining some of the transformations that can be made to the chart type, allowing the user to select the graph above as a bar or histogram or a vertical chart detail data.


After you select the option as you see in the Fast Type change. There is a fast change option in the upper-right corner of the chart. It becomes the following:

Since the preferred icon in the lower right corner of the first image is checked in Caption, the control chart Type Fast Change button is in the title bar, if the first in chart is checked, the effect can be seen as follows:

Watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvenbsdw1l/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/dissolve/70 /gravity/southeast ">

Due to factors such as the overall layout of the dashboard, the customer would think it would be nice to use a separate button to control the conversion of the chart type. So start doing button,

Create a new Button->actions->edit Module. Enter for example the following code:

Sub Setcharttypeset chart = activedocument.getsheetobject ("CH06") Intobjecttype = chart. Getobjecttypeif Intobjecttype = Thenchart.setcharttype 2elsechart. Setcharttype 4end IfEnd Sub

In detail for example with what is seen:

Click OK and OK. Be aware that in the micro name you will have the same name as your new method.

Click on the fasttypechange below to convert the line graph and the vertical table.

Click button for example to:

The next time when you put Google into a variety of chart type stickers. So, you can use the button to control conversions between various chart types.

Copyright notice: This article blog original articles, blogs, without consent, may not be reproduced.

Qlikview with Button control convert chart type (for example, into a vertical bar chart)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.