pixiedust icon indicating copy to clipboard operation
pixiedust copied to clipboard

Barchart > brunel renderer throws org.brunel.model.VisException if field name contains space

Open ptitzler opened this issue 8 years ago • 0 comments

fresh_veggies_df = classify_df.filter(classify_df["Fresh Vegetables"] > 0)
display(fresh_veggies_df)

Chart type: bar chart Options:

  • keys: a string
  • values: Fresh Vegetables
  • aggregation: COUNT Renderer: brunel

causes

org.brunel.model.VisException: Expected token ',' or ':'', but was 'Vegetables' while parsing action text: data('brunel_temp_df') bar x(ORDER_DATE_MONTH,Fresh Vegetables) y(Fresh Vegetables) color(GENDER)

Looks like the space char is causing issues. Same results for canned food (:

ptitzler avatar Feb 12 '18 22:02 ptitzler