cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Super User
Super User

Change R visual to Custom visual with Tooltip

Thanks Advanced !!!

 

Hi,

 

I have tried to create R visual in power BI and i successfully complete that visual as well. 

Now the challange is i have change the R visual as Custom visual. because i need tooltip on my visual.

Am totally blank on this, how can i acheive this.

 

Your help is priceless.Man Tongue

6 REPLIES 6
Moderator v-viig
Moderator

Re: Change R visual to Custom visual with Tooltip

Hello @Baskar

 

We'll include our R-script developer to assist with this feature.

 

Ignat Vilesov,

Software Engineer

 

Microsoft Power BI Custom Visuals

pbicvsupport@microsoft.com

Super User
Super User

Re: Change R visual to Custom visual with Tooltip

@v-viig let me know when i will get touch with R-Developer.

Moderator v-viig
Moderator

Re: Change R visual to Custom visual with Tooltip

Hello @Baskar

 

Our developer will investigate the posibility to use tooltips with R.

 

Ignat Vilesov,

Software Engineer

 

Microsoft Power BI Custom Visuals

pbicvsupport@microsoft.com

Moderator v-viig
Moderator

Re: Change R visual to Custom visual with Tooltip

To use tooltips API, the developer will need to:

  1. Transition from standard R-script visual to HTML R Custom visual, that may be very easy or very complicated, depending on packages used.
  2. Add to every relevant entity in the R HTML widget an “on-hover” behavior invoking tool-tips API (this can and should be done using plotly’s commands in the R script)
  3. Connect the specific details to be shown in the tooltip to the call in “b.” – this may be difficult for certain visualizations.

 

Pros:

  1. Same look and feel as other PBI visuals
  2. Can display tooltips outside of visual’s iframe boundaries.

 

Cons:

  1. Requires some TS coding
  2. Depending on specific implementation, may be difficult to implement.

 

To use plotly’s built-in tool tips, the developer will still need step “1.” above (static images won’t generate tooltips, he must generate a functioning HTML widget…)

 

Pros:

  1. Only R coding, (aside from transition to R HTML widget)
  2. Data automatically available for tooltip.

 

Cons:

  1. Tooltips limited to visual’s plot R area.
  2. Look and feel inconsistent with PBI’s

 

You might also take a look at https://github.com/Microsoft/powerbi-visuals-funnel as an example.

 

Ignat Vilesov,

Software Engineer

 

Microsoft Power BI Custom Visuals

pbicvsupport@microsoft.com

Re: Change R visual to Custom visual with Tooltip

I am facing the same problem. Did you find a way to make tool tip work in R visual ?

Moderator v-viig
Moderator

Re: Change R visual to Custom visual with Tooltip

Have you tried the solution posted above?

 

Ignat Vilesov,

Software Engineer

 

Microsoft Power BI Custom Visuals

pbicvsupport@microsoft.com