Hitachi Vantara Pentaho Community Forums
Results 1 to 7 of 7

Thread: chart

  1. #1
    Join Date
    Jul 2012
    Posts
    200

    Default chart

    How to show negative values in ccc stacked bar chart in pentaho cde

    Any suggestions which properties we need to enable??
    Thanks & Regards
    yvkumar

  2. #2
    Join Date
    Mar 2012
    Posts
    645

    Default

    Sorry, negative values are not supported in stacked bar charts in the current version of CCC, and it's not easy to implement.
    Version 2 of CCC will support them, by showing two stacks: a positive and a negative values stack; on each category, the series with negative values go to the negative stack and the series with positive values go to the positive stack.

  3. #3
    Join Date
    Jul 2012
    Posts
    200

    Default

    Thanks for ur quick reply
    I am looking for this type of solution but i am new to this .. http://forums.pentaho.com/attachment...7&d=1317563733
    What is version 2 of CCC where can we get these things be done
    Thanks & Regards
    yvkumar

  4. #4
    Join Date
    Mar 2011
    Posts
    257

    Default

    that's a regular bar chart not a stacked bar chart !

  5. #5
    Join Date
    Jul 2012
    Posts
    200

    Default

    thanks ..


    Is there any way we can get to work with stacked bar charts with newer version in cde if it is in svn or some where else so that i can try it out by replacing old files
    Last edited by yvkumar; 09-04-2012 at 11:03 PM.
    Thanks & Regards
    yvkumar

  6. #6
    Join Date
    Jul 2012
    Posts
    200

    Default

    Can i know when the version2 off ccc will be released?? or already it is available in jenkins so that i can replace jar files

    Quote Originally Posted by duarte.leao View Post
    Sorry, negative values are not supported in stacked bar charts in the current version of CCC, and it's not easy to implement.
    Version 2 of CCC will support them, by showing two stacks: a positive and a negative values stack; on each category, the series with negative values go to the negative stack and the series with positive values go to the positive stack.
    Thanks & Regards
    yvkumar

  7. #7
    Join Date
    Mar 2012
    Posts
    645

    Default

    You can try the CCC v2, but note that is still in an "alpha" state, and we can't *guarantee* support for it (although we will try to).

    Currently, we're working on ensuring better backward compatibility with CCC v1.
    Many new features of CCC aren't yet published as CDE properties, so you'll have to use/specify them by code, from the post-fetch event, using "the this.chartDefinition" object.
    There's a working document related to V2 changes that you can read here: http://redmine.webdetails.org/projec...eatures_CCC_v2
    Note that many of the current features might still suffer changes until the final release.

    That said:
    * update the CCC scripts of CDF, from here: https://github.com/webdetails/cdf/tree/4.6 (bi-platform-v2-plugin/cdf/js/lib/CCC )
    * for printing, you need to update CGG:
    ** "git pull" the project in https://github.com/webdetails/cgg/tree/4.6
    ** compile with "ant dist"

    If you wan't to take a better look at the V2 source code, it is in: https://github.com/webdetails/ccc/tree/multicharts (the code in here is usually a bit ahead of that in CDF and CGG).

    If you try it out, please give us feedback of your experience.
    Last edited by duarte.leao; 09-10-2012 at 06:36 AM. Reason: formatting

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.