datagrok-ai / public

Public package repository for the Datagrok.ai platform
MIT License
41 stars 26 forks source link

#582: JS API: Filter 'histogram' does not respect the tag '.default-filter' for column. #582

Open tanas80 opened 2 years ago

tanas80 commented 2 years ago
  const df = DG.DataFrame.fromCsv(
    `id, val
    1, 1
    2, 2
    3, 3
    4, 4
    5, 5
    6, 6
    7, 7
    8, 8
`);
  df.col('val').setTag('.default-filter', JSON.stringify({min: 3, max: 6}));

  const view = grok.shell.addTableView(df);

  view.filters({filters: [{type: 'histogram', column: 'val'}]});

image

dnillovna commented 5 months ago

This issue has been mirrored in Jira: https://reddata.atlassian.net/browse/GROK-14798

dnillovna commented 1 month ago

This issue has been mirrored in Jira: https://reddata.atlassian.net/browse/GROK-16058