I’ve got a line chart to plot a number (UPLH) and I want to display a baseline or target line on the chart, to imply anything above the line is target met and below the line is target not met.
I’m using the Air Line Chart Lite free plugin (linked below), but I’m not opposed to changing to a different plugin if it means I can have the target line.
What’s the problem with your current plugin? Does it not allow you to plot multiple series of data simultaneously?
It does. But it’s pulling that info from the database that the repeating group to the left of the chart is referencing. I don’t know how to make a static target line across the chart that won’t show a data label on every date for the target value. Plus I’m not even sure what I would reference to make that.
I honestly thought of having fixed values in an option set and using it as the reference.
But this approach doesn’t solve the issue of you having to deal with target values for every date 
Any idea if there’s a way to customize the background color of the graph where the background below 5.0 comes up as a light red and above 5.0 is a light green? Perhaps that would work? Even if it’s on one of the other line chart plugins, I don’t mind switching.
Check out annotations on ApexCharts: A guide to annotating the charts – ApexCharts.js
I think this is what you’re looking for.
PS. I use this plugin for ApexCharts (it’s free and fully customizable): ApexCharts Plugin | Bubble
My man! That looks like what I need. I’ll play around with it, but from what I can see, it should do it. Thank you!
1 Like
Just a side note, make sure to format your default options this way (it won’t work otherwise)
Okay. That’s going to take me some time to decipher. The code that’s on the guide you linked doesn’t exactly seem to be copy/paste friendly and…well…there’s a reason I’m on Bubble, the no-code app builder 
Bro, just give it to chatGPT and let it do its magic 
So I think the problem I’m running into now is that the ApexGPT they have on their website is adding annotation code when I ask it, but because the data being displayed is not written into the code itself, it isn’t visualizing the code.