plot icon indicating copy to clipboard operation
plot copied to clipboard

document the custom render option

Open Fil opened this issue 2 years ago • 1 comments

If we do an “Extending Plot” page, maybe it should cover more than the render function?

For #1711

Fil avatar Aug 16 '23 13:08 Fil

Should we also document the other public Mark methods, and add them to the Mark class TypeScript declaration? Specifically:

  • the Mark constructor
  • mark.initialize
  • mark.filter
  • mark.project
  • mark.scale
  • mark.render

(I also thought about all the public fields on Mark and subclasses, such as mark.data, mark.sort, mark.initializer, etc. But I don’t really want those to be part of the public API. 🤔)

mbostock avatar Aug 16 '23 22:08 mbostock