Skip to content

Commit 3b3661a

Browse files
authored
fix: Chart subscriptions shouldn't reverse positions (#6546)
Fixes DH-18389
1 parent d49cab4 commit 3b3661a

File tree

1 file changed

+1
-1
lines changed
  • web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot

1 file changed

+1
-1
lines changed

web/client-api/src/main/java/io/deephaven/web/client/api/widget/plot/ChartData.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public void update(AbstractTableSubscription.SubscriptionEventData tableData) {
7272

7373
private void replaceDataRange(SubscriptionTableData tableData, Range positions) {
7474
RangeSet keys = tableData.getFullIndex().getRange()
75-
.subsetForPositions(RangeSet.ofRange(positions.getFirst(), positions.getLast()), true);
75+
.subsetForPositions(RangeSet.ofRange(positions.getFirst(), positions.getLast()), false);
7676
// we don't touch the indexes at all, only need to walk each column and replace values in this range
7777
for (Entry<String, Map<JsFunction<Any, Any>, JsArray<Any>>> columnMap : cachedData.entrySet()) {
7878
Column col = table.findColumn(columnMap.getKey());

0 commit comments

Comments
 (0)