Smart M.App discussions

Looking for answers in regards to M.Apps, M.App Exchange or M.App Studio? Smart M.App Tech Discussion board is where you can search, ask your questions and assist others by sharing your knowledge. Join the conversation, connect, contribute and share.
Showing results for 
Search instead for 
Do you mean 
Reply
Highlighted
Frequent Contributor
Posts: 78
Registered: ‎10-12-2015
Accepted Solution

Acess the GVC api in the bi map panel

I'm in the bi map panel. Whenever I try to use the a function from the gvc api, such as gvc.chart.choropleth, I get the error "gvc is not defined". So, my question is: how do I access the gvc api in the bi map panel?

 

Highlighted
Technical Evangelist
Posts: 1,320
Registered: ‎09-11-2015

Re: Acess the GVC api in the bi map panel

The GVC library is probably not directly referenced unless you specify it using this function:

 

$GP.bi.stage.requireLibraries(function(gvc, dc, d3, cf, _) {
  console.log(gvc);
});

 

Jan Neumann
Post Sales Engineer Web Applications
Hexagon Geospatial