MCPcopy Index your code
hub / github.com/plotly/plotly.js / writeBuffer

Function writeBuffer

stackgl_modules/index.js:39147–39154  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

39145
39146 var buffer = ""
39147 function writeBuffer() {
39148 if(buffer !== "") {
39149 var delta = context.measureText(buffer).width
39150
39151 context.fillText(buffer, offsetX + xPos, offsetY + yPos)
39152 xPos += delta
39153 }
39154 }
39155
39156 function getTextFontSize() {
39157 return "" + Math.round(zPos) + "px ";

Callers 1

getPixelsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…