BUG Report: Plotly plotlyJson selectedPoints not being set

  • Goal: When using a chart type plotlyJson in my case pie chart, the state property selectedPoints should be set when a click event is received, as the other out of the box charts correctly do.

  • Steps:

  1. Create a new plotlyJson Chart
  2. Populate the data for a pie chart, example
[{
  values: [10,20,30,40,50],
  labels: ["Excellent","Good","Ok","Poor","Bad","Unknown"],
  type: 'pie',
  textposition:"outside",
  marker: {
    colors: ["#1ca256","#14c01f","#fec016","#e77421","#e5403a","#8d9e9f"]
  }
}]
  1. Right click on the chart and view state
  2. Select a section of the chart and notice selectedPoints does not update. or it updates by dataset, x and y are undefined.

Hi @TrevKillick,

Apologies for the issues with the plotlyJson chart.

Let me look to reproduce this and confirm the bug so I can make a report for our engineering team.

Thank you for sharing the screen shot and the app JSON, that will help me a ton in reproducing this.

Will let you know if I have any further questions about the set up :+1:

Hi @TrevKillick,

Just reproduced that bug, apologies for the odd behvior on the component. It is fairly new so we appreciate the bug find so we can fix it to improve the component!

Thank you for the patients and will update you with any news I hear on the bug ticket.

2 Likes

Thanks again Jack, no worries at all looking forward to the update.

1 Like