2 ms·
With all due respect for the library and its beautiful showcase of demos, why do we apparently keep having to re-invent the wheel? Log-scaling axes seems like o
by gan25 6y ago
With all due respect for the library and its beautiful showcase of demos, why do we apparently keep having to re-invent the wheel? Log-scaling axes seems like one of the most fundamental features in any plotting library. How many dev hours are wasted implementing logarithmic axis scaling for the umpteenth time?
- leeoniya 6y agoyou can dismiss almost anything by that logic. why do we need 100 implementations of SQL parsers & relational dbs? why do we need to have 4 different js engines? graphics APIs? memory allocators? operating systems? why do we need 100 different companies making slight variations of a smartphone? why did i write uPlot when there are already 100 js charting libs out there? > Log-scaling axes seems like one of the most fundamental features in any plotting library. the overwhelming majority of line charts in this world are not logarithmic. the only things which are "most fundamental" are axes lines, axis ticks/labels, series legend, chart title and connected datapoints. if you've ever implemented anything even as simple as a log axis, you would realize there is not just 1 way to do it, despite the math being the same. there was no way for me to simply "use" someone else's already-invented log axis because it would not fit properly into uPlot's architecture. so it had to be re-implemented. > How many dev hours are wasted implementing logarithmic axis scaling for the umpteenth time? rest assured that the amount of dev hours "wasted" on this feature is many orders of magnitude less (see what i did there?) than it took to re-invent yet another message board that you're using right now :D