Grafana Timeseries Panel: How to change color of annotations bar based on a tag - grafana

I am using Grafana version 8.1.0 and have a timeseries panel on which annotations are added using HTTP create annotation API and GUI both.
I want to change the color of the annotation bar based on tags added to that annotation.
I have tried to go through documentation but have not found a way to do it. Could someone help me out with this? I think this is a very basic requirement and I must be missing something here.

It seems like it's not implemented yet, as you can see on this open issue from 2018.
You can also see from the annotations API documentation that it's not possible yet.

Related

Is it possible to create custom annotations in adobe embed api

Trying to change the title of the annotation menu and pop up from Add Sticky Note to something else, has anyone created custom anotations?
I need to create a custom menu item to create an annotation, is this possible?
There is an API to work with annotations. This is documented here, https://opensource.adobe.com/pdfembed-sdk-docs/howtos_comments.html#annotations-api-overview. As I know SO frowns on posting just links, I'd suggest giving this a try and if it doesn't work, you can edit the question with a specific problem with the API. Let me know if this doesn't help.

How to set grafana's radar graph(InfluxDB)?

I have a struggle to present my data with radar graph plugin for Grafana. My goal is to obtain something like in this picture:
Single branch represents an object. Points on the branch represent object's properties.
Can anybody support me with a simple instruction?
Edit 1.
I've tried to set it like it is in the link.
Result.
It is not clear which kind of radar plugin are you using. Did you try https://grafana.com/grafana/plugins/snuids-radar-panel and did you read plugin documentation ?
Snuids radar seems to be slightly broken in the latest versions of Grafana and InfluxDB.
To get the above working (albeit not 100%) you need to use a time-series format.
See https://github.com/snuids/grafana-radar-panel/issues/22 for the issue.

Does the Charts library support showing a message when there's no data to display?

I'm using the Charts library (Charts) and I want to display a message on the chart if there's no data to display - something like this:
I've read the documentation, searched the code base, and searched the issues on Github and the only thing I could find is an old issue that suggests ChartViewBase has a property called noDataTextDescription. As far as I can tell, that's not in the Charts 3.1.1 code.
There is a chartDescription property, but that only shows a description in the bottom right corner of the chart. Is this intended to be used for a message like 'There's no data to display`?
In newer version after 3.X many properties name updated and as per your requirement for No Data Text you can use below property for the same.
lineChartView.noDataText = "<Your custom Text>"
Hope this will help to show Message while there is no data.

Using overlayButtons on FusionCharts with javascript links

I would like to use a javascript function link such as 'link:j-myJS-data' for drill down type charts. I have everything working great to drill down but cannot figure out how to incorporate the overlayButton through the configureLink when drilling down. At present, I can drill down but cannot go back. Can anyone provide a basic example of how I may go about this? Is it even possible?
I thought I could add my own "Back" button to hande this as one option. I do not want to use a jsonURL as there is a lot of data and many paramertes need to be passed resutling in a long links and a lot of extra data in the JSON.
Thanks in advance.
There are multiple options available to create a drill-down chart with FusionCharts XT. Here is a table which explains all of them, with each one's syntax.
The method that you've used is the JavaScript function link. Using this one, you won't get an overlay button to go back to the parent chart.
The overlay button is available only when a LinkedChart is created.
So there are 2 ways that you could go about:
You could change all your charts to use the LinkedCharts technique. Here is a blog post detailing how LinkedCharts can be created using PHP + MySQL. If you aren't using PHP, the general idea shown still applies to any server-side environment.
You could create a separate button sitting near the chart, and this button would re-create the parent chart for you.
The button (which we call "overlay-button") can be made automatically visible using LinkedCharts alone.
However the overlay-button can be internally invoked using the charts' private API. Since these APIs are private, it may change between implementations and may not work as desired under certain circumstances. I would not recommend you to use this. If you are still interested in knowing more on this API, put in a comment and I will update this post.

Overlaying of charts

I want to know whether this is possible using Google Charts API: First, create a bar chart with the given input data. And then overlay a line chart (or a line) on top of it.
My use case here, is to show a student's performance in a test when compared to the rest of the crowd which is already available as a bar chart.
EDIT: Dug and found out about markers. Will explore and may be answer my own question :)
This is covered pretty explicitly in the current documentation, see compound charts
Yes, markers are probably what you are looking for. In particular, you may wish to look at a newer feature called "financial markers". This (little advertised) feature was added recently.