Forum Discussion
FunDeckHermit
8 years agoHelper I
D3 V4 gallery library implementation with dependencies
Hello everyone, I'm trying to implement an example library from the D3 gallery called Visavail. A demo of this library can be found here: link. I'm having difficulties getting it to work, any...
- 8 years ago
Hello FunDeckHermit,
The chart didn't work due to using d3v4 instead of d3v3. We installed d3v3 and created the global injector for moment to fix this visual.
Please find the fixed source code here.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
FunDeckHermit
8 years agoHelper I
Thank you!
With the implementation of the globalinjector, do you happen to know how to change the locale of moment.js?
I tried:
- calling moment.locale("de") in the momentGlobalInjector.js
- calling this.moment.locale("de") in the visual.ts
- changing "/moment/min/moment-with-locales.min.js" to "/moment/locale/de.js
v-viig
8 years agoCommunity Champion
Please visit this Stackoverflow topic to find out more.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals