deephaven / deephaven-core

Deephaven Community Core
Other
254 stars 80 forks source link

More Chart Errors #5220

Open ethanalvizo opened 8 months ago

ethanalvizo commented 8 months ago

As a user, I want more types of errors or warnings so that I understand why my plots aren't showing.

Cases:

  1. Poor performance --> "Warning: Plot contains more than XXX points and may have poor performance"
  2. Unable to load --> "Error: Unable to downsample non-time series data. Plot contains more than XXXX points, and will not be displayed"

From a quick glance at FigureSubscription.java I believe there is already logic in place to capture when we can't downsample but it doesn't tell the user the upper limit of how many data points we can handle. I think it's somewhere near 200,000? The poor performance warning is not in place yet.

mofojed commented 7 months ago

In addition, the errors should be typed such that the client can check if it's a specific type of error.