Jump to content

Recommended Posts

Posted

Greetings,

I am working with the Tibco JSVis tool to create a Sankey chart. I started with the default Tibco analyst .dxp that comes with JSVis and replaced the datatable with my own data (e.g. cash flow data).

The new datatable is loading correctly but many of the Sankey "waves/branches" are not visible (fall off the screen area), attached .png.

I've tried to modify the GoogleSankey.js source code (guess and check methodology... unfortunately I'm not a programmer) but nothing seems to work.

E.g. sensitized the following lines:

var options = {

width: window.innerWidth - 10,

// Example: changed default -10 to -100

height: window.innerHeight -10,

// Example: changed default -10 to -100

Please let me know if you have any ideas!! Thanks so much for your support.

Best Regards,

Kevin

  • 4 weeks later...
Posted

My first guess would be that some of the numbers being generated are negative and this is causing the behavior you are seeing.  You can confirm this by exporting the JSON data from the Data property page and looking at the values to see if any are negative.

 

If you direct message me, I can take a look at your data and see if I can figure out how to solve your issue.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...