Forum Discussion

mehul2010's avatar
mehul2010
Frequent Visitor
8 years ago
Solved

How to solve rendering problem when data points are very large?

I am trying to build a custom visual which contains nearly 20,000 data points in it. So my problem is when I resize or drag the report, all the points get distorted while displaying. So, I want to c...
  • v-viig's avatar
    v-viig
    8 years ago

    Yes, it's possible to detect a resize event by checking type.

     

    However, we would rather recommend you should use d3's enter-exit-remove flow to prevent your code from creating new DOM elements for each update.

     

    Ignat Vilesov,

    Software Engineer

     

    Microsoft Power BI Custom Visuals

    [email protected]