cancel
Showing results for 
Search instead for 
Did you mean: 

How to write notes along side graphs in Lumira Dashboard?

former_member308471
Participant
0 Kudos

Hi All,

There is a dashboard with chart being plotted. user wants to write down certain comments as smart insights along side chart.

These comments will keep changing based on the inputs parameters of the dashboard.

But it should also remember the comments for specific input parameters it was last run for.

Is there any such way to implement this feature?

Regards,

Kiran

Accepted Solutions (1)

Accepted Solutions (1)

former_member308471
Participant
0 Kudos

Hi,

I found answer to this, using COMMENTS -> technical component available in Lumira Designer 2.X

The prompt variables or filtered values can be captured in Global variables. Later the same can be passed in COMMENTS.create and COMMENTS.getComments function using Context parameter to capture the state of the visualisation.

Comments Creation:

var commentId = COMMENTS.create(TEXTAREA_1.getValue() ,	
{"context":{"from":GV_FROM,"till":GV_TILL,"mall":GV_MALL},	 
"dataSource": DS_1,
"isPublic": true });

Comments Retrival:

FEEDLIST_1.setItems(COMMENTS.getComments(
{"context":{"from":GV_FROM,"till":GV_TILL,"mall":GV_MALL},
"dataSource": DS_1,
"isPublic": true,
"sortBy": CommentSortBy.CREATED_ON, 
"order": SortOrder.DESCENDING}));

Regards,

Kiran

Answers (0)