Hitachi Vantara Pentaho Community Forums
Results 1 to 3 of 3

Thread: Adding Extension Points To Protovis Chart Component

  1. #1
    Join Date
    Oct 2009
    Posts
    156

    Post Adding Extension Points To Protovis Chart Component

    Hi All,

    I have created a Protovis chart component which renders time series chart. The count on Y-Axis can go over millions and the count will be truncated. I can add extension points to others charts in chart properties and can add 'K' after the count go over 10000, but cant add extension points to Protovis chart component as it is not listed in the properties. Can i add extension point property to the Protovis component or need to work it in js code.

    Thanks

  2. #2
    Join Date
    Mar 2012
    Posts
    645

    Default

    The protovis component does not support extension points, in the way that CCC charts do.
    All protovis properties must be specified directly in JS code.
    The function you specify in the CDE property "Custom Chart Script" should create the protovis mark hierarchy that renders the desired visualization.
    It receives as arguments, the root protovis panel and the component's data.

    Any properties may be freely assigned to the root panel or to any other marks you add as its children.

  3. #3
    Join Date
    Oct 2009
    Posts
    156

    Default

    Thanks for your reply...

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.