You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 18, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Apr 18, 2026. It is now read-only.
Better support of incommensurate data series #3020
I want to use Google Charts' JS API to graph, on the same set of axes, multiple data series of different lengths and with different, intermingled abscissae. Example: results of applying Euler's method over a fixed domain split into, say, 33 and 100 intervals. Presently, as near as I can find*, the only way to do this is to create a 133 row x 3 column data table, with all the x values for both series in the first column, and the y values for each series in the other columns, with null or NaN in the rows corresponding to x values which aren't present in the respective series. This is excessively difficult to implement for data series of arbitrary, different lengths; not to mention just plain inelegant and klugey. One should really be able to simply "say": "here are the ordered pairs in each of my series: plot them." And ideally, one could create a plot with one data series, and then addSeries subsequently (being obliged to redraw if series are added after the initial draw, of course). (*If I am mistaken and it is already possible to do this via the JS API, I apologize: please point me to pertinent documentation, because I have been looking, unsuccessfully, for hours).
Activity