Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
9 years ago
Solved

Trying to Add an Legend using the legend.md API to my custom visualization

  I am following  the installation instructions at the below link.  I am using the API 1.4.0 ...    https://github.com/Microsoft/powerbi-visuals-utils-chartutils/blob/master/docs/usage/installatio...
  • v-chuncz-msft's avatar
    9 years ago

    Anonymous,

     

    Update powerbi-visuals-tools and add Dataview Utils as follows.

    npm install -g powerbi-visuals-tools
    	"node_modules/powerbi-visuals-utils-dataviewutils/lib/index.d.ts",
    	"node_modules/powerbi-visuals-utils-formattingutils/lib/index.d.ts",
    	"node_modules/powerbi-visuals-utils-dataviewutils/lib/index.js",
    	"node_modules/powerbi-visuals-utils-formattingutils/lib/index.js",