You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How would I migrate Lego Style tFun to V3? the only example i could find uses thresholds:
// get dataset if havent alreadyif(!layer.dataset)getDataset(layer)//define styleconststyles=LegoStyle.get((cell)=>cell[DATAFIELD],[100,200,500,1000,2000],['#ffffd4','#fee391','#fec44f','#fe9929','#d95f0e','#993404'])//define layerconstgridLayer=newGridLayer(layer.dataset,styles,{minPixelsPerCell: 5,cellInfoHTML: TOOLTIPFUNCTION})//add layer to mapgridvizMap.layers=[gridLayer]// redraw gridvizgridvizMap.redraw()
How would I migrate Lego Style tFun to V3? the only example i could find uses thresholds:
but the previous code did this:
The text was updated successfully, but these errors were encountered: