Services Plugins FAQs

Help with a stacked bar chart

Hello,

I am using the Air Chart Pro plugin to generate a horizontal stacked bar chart. I only want the bar chart to display for one point on the X-Axis but can’t seem to restrict the category. Series Category seems to need a list of texts but I only one one item displayed “2024”.

Any ideas? I feel like this is something really easy that I’m missing.

Thx,
Mark.

1 Like

Hello @mark8, :wave:

Thank you for using our plugins.

If you’re looking to display only one category (“2024”) on the horizontal stacked bar chart’s X-Axis, you would indeed typically need to provide a list to the Series Category field, even if it’s a list with a single item.

Here’s a suggestion you might try:

  1. Ensure that the data source for your chart is set up so that it only includes the data for the “2024” category.
  2. You can create a list with only one item in it. In Bubble, you can often do this by setting the value in a state of type ‘list of texts’ and then adding just the single item “2024” to that state, or by using the “:converted to list” operator if you’re pulling from a text field.
  3. In the chart configuration, use this single-item list for the Series Category field. :chart_with_upwards_trend:

If you’re still having trouble, please ensure that:

  • The data type for the Series Category in the plugin settings matches the data type being passed (it should be text in this case).
  • There are no hidden or extra spaces around the “2024” text that might be causing it to be treated as more than one item.

If the issue persists or you’re unsure about how to set up the list correctly, please share a bit more detail about your current setup, such as how you’re sourcing the data for the chart and any relevant workflows or states. This information will help provide more targeted assistance.

I hope this helps, and I’m here if you have any further questions or need additional support.

Best regards,
Daniel.

Thanks @Daniel.P that worked. I appreciate you taking the time to respond. I did as you said, simply created a custom state, that is a list and then added 2024 to the list.

Much appreciated,
Mark.

1 Like

Hi @mark8, :wave:

​Glad to be helpful. Please feel free to reach us again when you need some help or assistance. It will be a pleasure to cooperate. :slightly_smiling_face:

By the way, if you like our plugin you can rate it by going to the Plugins tab in Bubble editor. Find the plugin by name and give it as many stars as it deserves. We would appreciate it a lot!

Take care!

Best regards,
Daniel.