-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tutorial for Sankey Diagram #1
Comments
I've got a few things to do on this project - including a bug fix that a colleague found. Once that is done I will try to post something on the Qlik Community to describe this extension. Jonathan |
Hi, Your extension sounds promising based on what you described but when I want to insert it, for any dimension or measure I see this message: "Error: The calculation page is too large. Reduce the number of cells and try again". This cannot be right because I just tried with 3 columns with 9 rows. I would be great-full if you help me with this issue. |
Metti, would it be possible for you to upload a data file that I could try to make this happen myself? Or, perhaps an inline table? |
Thank you so much for reply. I have attached the excel . In sanki figure, I am trying to plot the years in x-axis with several columns (each column correspond to one year) and it shows the distribution of product. (in excel I was not sure how the column and rows should look like. I thought the years should be in each column. The layout is fake so if in your extension I have to distribute the data in different manner, please let me know. |
Metti, Thank you for bringing this to my attention. Honestly, at this moment, I have no idea what's going on, but I will investigate. I see the same error as you. The strange thing is that the original Sankey extension that I forked this repo from works fine with your data. Perhaps, for now, you want to use that one. https://github.com/xavierlp/SenseSankey I'll come back to this thread when I figure out what's going on. |
Metti, I think I found the problem, I need to test on a couple different things, but I think it's a simple fix. At line 72 in the SenseColoarableSankey.js I am trying to call too many rows (qHeight): 10,000. That is the highest amount of allowable cells, not rows. So, I'm changing it to 1000. You can test it yourself and see if it works. Not sure, why it works for some data and not for others. (if you do test it yourself, make sure to clear the cache after changing the code and also delete the original Sankey and make a new one). |
Hi Jonathan, |
Hi Jonathan, |
First of all, The Godfather - nice. But, I'm sorry to say, that the image feature is not something I put into this extension, it was carried over from the original version that I forked from. In fact, I might take it out altogether because I can't really support it. So, I can't really help you at the moment on that one. Do you really think you need it? If so, it might be something I consider working on later. |
Dear Jonathan, |
Hi, many thanks for the extension! I have a expression for dimension's color, but it hasn't any effect. The expression is something like if(Status='2',RGB(0,99,56),if(Status='1',RGB(255,128,0),RGB(127,127,0127)), the same for all the dimensions (4). Cesar |
Can you open a new issue, I'd like to be able to close them when they are resolved. This one is about tutorials. It also might help if you could upload an app. |
If possible, please provide a tutorial on how to set up the data for a Sankey Diagram. It would be nice, for those of us who like to practice, if you could provide a sample data set and instructions on how to prep the data for the Sankey Diagram.
The text was updated successfully, but these errors were encountered: