Forum Discussion

ConnectedRoman's avatar
ConnectedRoman
Frequent Visitor
9 years ago
Solved

How do I find out what doesn't work?

I'm currently trying to understand how visuals are developed per TypeScript. My experience with programming is mostly limited to C# in school - so not that much. That means that I'm having a lot of troubly unterstanding it completely.

 

In order to pick up the way visuals are created, I wrote the simple bar chart myself - by copying it line by line, and looking at what everything does. It helped me a lot. When I start the server, load the developer visual, and add data to it - nothing happens. Only the update count goes up. 

 

The config/capability files are all the same as in the github example. The barchart code is the same, too. 

 

How can I "debug" this file? How do I find out, what is going wrong?

 

EDIT: Editing to say, that I have tried debugging.

  • v-viig's avatar
    v-viig
    9 years ago
     

    You should use module instead of namespace:

    namespace powerbi.extensibility.visual

    As a result you should have this:

    module powerbi.extensibility.visual

     

    Ignat Vilesov,

    Software Engineer

     

    Microsoft Power BI Custom Visuals

    [email protected]

     

9 Replies