Skip to Content

Hierarchy Drill Down issue in Lumira Designer.

Hello Experts,

I have a hierarchy info-object in a chart and when user click on a parent node (first node) then same chart shoud be there with drill down at second node level (node : 02) but instead of node 2 it is getting jumped to the node 03. i have tried all things like by using drilldown -- dimension etc.

DS_1.setFilter("info-object",CHART_2.getSelectedMember("info-object"));

DS_1.expandNode("info-object","HIERARCHY_NODE/0HIER_NODE/02);

but nothing is working. Please suggest how to restrict hierarchy drilldown only upto node 02.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Feb 01, 2019 at 01:49 PM

    Hello Rajiv,

    unfortunately it is difficult to implement a good experience with Hierarchies and Charts in Lumira and Design Studio up to version 2.2.

    Generally a script like

    DS_1.setFilter("info-object",CHART_2.getSelectedMember("info-object"));
    DS_1.expandNode("info-object",CHART_2.getSelectedMember("info-object"));
    

    for a selected node could work. But the chart would look ugly, because you would show the expanded nodes and its children in on chart - which usually looks bad, because the parent node is typically the sum of the children and thus creates a very prominent bar.

    Therefore in 2.3 we have implemented quite nice support for Hierarchies in Charts:

    • There will be an option to hide expanded nodes.
    • The Context Menu has Drilldown/Drillup entries

    Reiner.

    Add a comment
    10|10000 characters needed characters exceeded

    • Hello Reiner,

      Thanks for yours prompy reply.But I was wondering if it would be possible anyhow by using css script to skip one node level while drill down from parent node to child node in a chart component in lumira designer 2.0

      Regards

      Rajiv Garg

  • Posted on Feb 06, 2019 at 01:17 PM

    It is unlikely that you could hide bars with CSS: Chart use SVG for drawing - and selecting thus elements with CSS is very difficult.

    However you could try to hide the parent nodes using chart.setDataSelection() API. This works, but is quite complex: You would need to know the internal keys of all children to include in the data selection.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.