Reply
Highlighted
Frequent Visitor
Posts: 4
Registered: ‎09-07-2018
Accepted Solution

Check out the source code based on an existing visual

Hi,

 

I would like to customize the third visual that appears in power BI Desktop but I can not find this source code.

For the moment i am working on Clustered Bar Chart by Akvelon https://github.com/akvelon/PowerBI-Clustered-Bar-Chart but I have problems with negative values ​​when I'm connected to a tabular cube.

 

Why all source codes for visuals are not available? Is there any possibility of obtaining this source code to customize this visual?

 

Regards,
Fanny

Accepted Solutions
Moderator
Posts: 1,553
Registered: ‎12-02-2016

Re: Check out the source code based on an existing visual

Hi,

 

Source code of some visuals are not public due to license or some other issues.

 

What visual do you want to customize?

 

Ignat Vilesov,

Software Engineer

 

Microsoft Power BI Custom Visuals

pbicvsupport@microsoft.com

View solution in original post


All Replies
Moderator
Posts: 1,553
Registered: ‎12-02-2016

Re: Check out the source code based on an existing visual

Hi,

 

Source code of some visuals are not public due to license or some other issues.

 

What visual do you want to customize?

 

Ignat Vilesov,

Software Engineer

 

Microsoft Power BI Custom Visuals

pbicvsupport@microsoft.com

Frequent Visitor
Posts: 4
Registered: ‎09-07-2018

Re: Check out the source code based on an existing visual

Hi,

 

I was not sure, but it’s clear now, thanks! Smiley Happy

 

We use power Bi embedded so we are mainly interested in the visual itself Woman Frustrated. We use very simple graphics like bar chart in fact Robot wink.

We would like to add in each visual a feature that would allow the user to capture an image (SVG, PNG, ..) of the visual and save it in a chosen directory.

The problem is that the user never has the same filters to apply so bookmarks can not request this need.

At the end 2, 3 or 10 images recorded (according to the need it's depend) are called by another application

 

The ‘Print report’ feature is supported in Power BI Embedded but that's not enough because it exports the whole report and we would like just graph result
https://github.com/Microsoft/PowerBI-JavaScript/wiki/Embedding---Basic-interactions#print-a-report.

 

 

To finish this discussion:

Do you have any advice for customized visuals?

Do not start from an existing code?

Do you think that a workaround should be found to save an SVG visual?

 

Thanks,

Fanny

Moderator
Posts: 1,553
Registered: ‎12-02-2016

Re: Check out the source code based on an existing visual

Yes can customize some custom visuals because they are open sourced but core vsiuals are private.

That means it's really difficult to customize components.

 

I think you can find visual svgs by class and id names. So, it might help to render an element into png somehow.

Not sure if it's feasible to be implemented.

 

Ignat Vilesov,

Software Engineer

 

Microsoft Power BI Custom Visuals

pbicvsupport@microsoft.com