Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
moises_martinez
Frequent Visitor

Hekp with barChartExample

Hi!

 

I downloaded the barChartExample

https://gist.github.com/deldersveld/2e12892c516d5b189dfdfe0067622b78

 

but when I run it does not display anything on the screen...

 

Any help???

 

Thanks you in advance.

1 ACCEPTED SOLUTION
MawashiKid
Resolver II
Resolver II

First I would strongly suggest you use a more recent up to date  v.1.4.0 version available on Github 
https://github.com/Microsoft/PowerBI-visuals-sampleBarChart

and not refer to code provided at the Gist link https://gist.github.com/deldersveld/2e12892c516d5bi 

The main reason is it contains only part of a code that was built using previous v.1.1.0 version. Now for that resaon it would surely work if you use whole api>v1.1.0 - schema.pbiviz.json with corresponding capabilities.json definition,...

though the visual.ts code segment provided on Gist link won't work if you try to cut and paste and mix it with a Visual Studio Code 1.4.0. generated template.  You'll either have to refactor the code to v1.4.0 or simply remove any v1.4.0 reference and simply refer everything back to v.1.1.0.   
Hope it helps.

View solution in original post

1 REPLY 1
MawashiKid
Resolver II
Resolver II

First I would strongly suggest you use a more recent up to date  v.1.4.0 version available on Github 
https://github.com/Microsoft/PowerBI-visuals-sampleBarChart

and not refer to code provided at the Gist link https://gist.github.com/deldersveld/2e12892c516d5bi 

The main reason is it contains only part of a code that was built using previous v.1.1.0 version. Now for that resaon it would surely work if you use whole api>v1.1.0 - schema.pbiviz.json with corresponding capabilities.json definition,...

though the visual.ts code segment provided on Gist link won't work if you try to cut and paste and mix it with a Visual Studio Code 1.4.0. generated template.  You'll either have to refactor the code to v1.4.0 or simply remove any v1.4.0 reference and simply refer everything back to v.1.1.0.   
Hope it helps.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.