RhoInc / Webcharts

Reusable, flexible, interactive charts with JavaScript
MIT License
34 stars 6 forks source link

Make data checks in `marks` optional #261

Open jwildfire opened 4 years ago

jwildfire commented 4 years ago

Allow user to disable the data checks in marks. This can be useful when columns are created as part of custom callbacks, but aren't available in the original data when init() is called.

jwildfire commented 4 years ago

Think we just need to add an option (e.g. this.config.marks.checkColumns with default = true) and then tweak this line to:

if (this.config.marks & this.config.marks.testColumns)

jwildfire commented 4 years ago

Just ran in to this again - it is annoying.