Quartz / Chartbuilder

A front-end charting application that facilitates easy creation of simple beautiful charts
http://quartz.github.io/Chartbuilder
MIT License
2.1k stars 354 forks source link

Disable `date` parsing? #239

Closed roberthuttinger closed 8 years ago

roberthuttinger commented 8 years ago

Tried setting Ln.~ 43360 supportedInputTypes.date = false but if I paste content in, the data is still parsed as a date if the col header is date

Is this set somewhere else?

Thanks!

yanofsky commented 8 years ago

supportedInputTypes is not a Chartbuilder setting, it's something used by an imported module.

If you want to disable that functionality you'll have to remove this line https://github.com/Quartz/Chartbuilder/blob/e1954d4e4a66a256c682ac0929fe5eae79da6462/src/js/util/parse-utils.js#L2

roberthuttinger commented 8 years ago

aha! parseDelimInput that makes sense but you never know the syntax. Thanks for helping find that! Exactly what was needed!