Hitachi Vantara Pentaho Community Forums
Results 1 to 4 of 4

Thread: How to disable Excel, Pivot, and CSV buttons in JFreeChart component

  1. #1
    Join Date
    Mar 2009
    Posts
    112

    Default How to disable Excel, Pivot, and CSV buttons in JFreeChart component

    Is there a way to disable some of buttons that appear on the mouseover event when using a JFreeChart component?
    I currently have a couple of dashboards that display a chart based on a SQL query, but the Excel, CSV and Pivot buttons don't work. I just want to keep the chart-type change and the zoom buttons.

    In a worst case, if this is not simple to do, is there a way of disabling this mouseover effect?

    Thanks in advance.

  2. #2
    Join Date
    Mar 2009
    Posts
    112

    Default

    Partially solved.
    I figured out how to remove the hover effect.
    Removing the caption: {} parameter did the trick. But I still can't see how to remove some buttons, not all.

  3. #3
    Join Date
    Jul 2007
    Posts
    2,497

    Default

    You need to look at the source; I know we support adding extra options and removing only some, but I didn't implement that myself so I don't know the inners of it.


    But even being sql, I was expecting CSV and Excel to work - and on that case the pivot option should not be there. Log a bug regarding this, please
    Pedro Alves
    Meet us on ##pentaho, a FreeNode irc channel

  4. #4
    Join Date
    Mar 2009
    Posts
    112

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.