Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
Hi, I Think I Found A Bug: In The

Hi, I think I found a bug:
In the report_histogram function, when filling both parameters xlabels (for giving labels on the x-axis, in the example: 0, 0.2, 0.4 ...) and series , the specified series names disappear and are replaced by "trace 0", "trace 1" ..., like in the example.
When I don't specify xlabels , the series names are displayed as they should.

  
  
Posted 4 years ago
Votes Newest

Answers 8


Hi, version 0.14.3

  
  
Posted 4 years ago

Hi StaleKangaroo85 which trains version are you using ? Also which trains-server are you using?

  
  
Posted 4 years ago

Thanks StaleKangaroo85 bug is verified. Let me check to see where exactly is the bug.

Two points
Notice that x_labels should be the size of the histogram It seems that you have to pass the labels as well (otherwise you get the trace-0), so if you add labels=['random histogram'] and labels=['random histogram2'] , you'll get the correct legend.Anyhow I'll make sure we also fix it in code so it is automatically labels are [series] if not specified, thanks!

  
  
Posted 4 years ago

You can also see the code there, could you run a quick test against the demo-server, this might be a UI issue that was fixed in the last version.

  
  
Posted 4 years ago

Thanks

  
  
Posted 4 years ago

server version is 0.14.0

  
  
Posted 4 years ago
1K Views
8 Answers
4 years ago
one year ago
Tags