Add images / pictograms on OpenSearch Dashboards - opensearch

I am a newbie creating an OpenSearch Dashboard. I wonder whether it is possible to customise the axis of the charts that are created. For example, if I was representing information based on countries, would be possible to add images or pictograms about flags?
Many thanks in advance.

So I am not sure that you can put images there (without writing a custom plugin that is). What you could do is enrich the name fields with their respective countries flags. This transform could be done with a scripted field from OpenSearch Dashboards or if you are using fluentbit you could use a calculated field with a dict mapping.

Related

How can I hide filters while downloading a Tableau worksheet as PDF or Powerpoint?

I want to download a Tableau dashboard as a ppt, but I want the filter controls to be hidden, is there a way of doing it?
The simple way to do this is to build the visualisation and then include it in a dashboard.
Tableau dashboards are designed to allow you to control the way things are visualised. They can include multiple visualisations. More importantly for your purpose, they allow you to control what the layout shows and where it shows it. So including a single visualisation in a dashboard gives you the option to remove filters and other elements you don't want users to see or pdfs/powerpoints to print.
It may be that you have are building dashboards. If so, the trick is to realise that anything can be omitted from the visualisation.

Is it possible to filter the panels created in a dashboard using GRAFANA based on their name

I have created a dashboard in grafana having multiple status panels. I need to provide a dropdown such that when one option is selected all the panels having a name corresponding to the selected option will be filtered. So, basically i need to filter the panels based on their name.Is this possible. If yes, how can we go about it
a bit late for an answer now I suppose but will answer you anyway. You can create filters in Grafana without the need for a plug in through using the Variables feature in your Dashboard settings. Its also used in templating to make your data more dynamic but also crucial in display when you want to filter. Check out the link below
https://grafana.com/docs/grafana/latest/reference/templating/
The way to accomplish something like this is with Grafana's Repeating Rows/Panels feature.
Essentially, this lets you dynamically duplicate a row/panel for all the possible results of a given variable. Then a dashboard user can use the variable selection UI to drill down and only show certain rows or panels. Make sure you allow multi-select and/or All as an option for the variable(s) so that you can see multiple results at a time.

How to integrate ECharts with BIRT/Pentaho?

I'm looking for a report engine which may:
connect to data source via JDBC
create logic data set by grouping/aggregating the raw data
include a data filter on the top of each report, which allows my client use the report interactively
add custom charts, in my case, it's ECharts https://github.com/ecomfe/echarts
support multi-tenancy paradigm (new requirement)
Now BIRT and Pentaho are the two players on my table.
For pentaho, it's really hard to find useful document to at least clarify if it's capable. Please if you're familiar with it, let me know if pentaho community version meets my requirements.
For BIRT, I've found evidence it support my first 3 needs. But for custom charts, I can only find examples/docs about adding custom IMAGE/SVG charts. As ECharts is based on canvas, I'm not sure if it's possible to integrate ECharts with BIRT.
Thank you!
Yes, it is possible to integrate javascript charts in BIRT. Basically:
Select the top-level element of your report outline -> Script tab -> clientScripts
Include here your echart resources (.js and .css) using "head.js" (see link below for more informations)
Add a text element to the report
Set the type of this new element to 'HTML'
In a script tag, initialize your echart object in a "head.ready()" instruction (see link below for more informations). The tricky part is to understand how to use a server-side dataset in a client-side chart within this html script.
You can find more informations and a full example of a such report here, this example embeds a jvectormap in a birt report. Furthermore, see a live demo here, where a JIT chart is integrated in a BIRT report.
However since these charts are created using a client-side framework, obviously BIRT won't be able to export them in PDF format. You can see in the live demo linked above, how a BIRT report can easily handle a different output when users export to PDF.
You can do it in Pentaho, but which tool to use it's a matter of debate.
Using Pentaho Report Designer:
- Connects to DBs using JDBC;
- Allows grouping rows based on a field or fields and calculating functions such as running sums;
- Can use selectors (single or multi-valued selectors) to interact with the report, passing the selector values to the queries;
- As far as I can tell, you don't have many options to choose a specific charting engine.
However, you can use CCC as the charting engine, which is a Protovis based Javascript charting engine, cross-browser compatible (for the most part), renders SVG charts with a decent fallback for IE (I believe the fallback is flash but I'm not sure if it changed recently) and produces decent looking charts.
If you HAVE to use that chart library, then I suggest using C-Tools dashboards instead, where you can embed as many different JS files you want and you have full control over the JS and CSS of the page. But most of the reporting functions from PRD will have to be implmented by you.

Get Drill down URL from FusionCharts events

I'm working with FusionCharts (specifically a column chart). The chart is created from a rest endpoint that outputs chart xml. The endpoint also encodes xml-urls into the chart for drill-down. I want to capture these urls in order to change the contents of the surrounding form (to make it appear the parameters chosen generated that chart).
The problem I'm running into is that the BeforeLinkedItemOpen and LinkedItemOpened events do not contain the url the chart is pulling its xml from.
The LinkedChartInvoked event does contain this information - its just only called navigating the first level of the drill-down.
I have five levels of drill-down, so that won't work. Anyone know of a way to get the information I'm looking for?
I never did find an answer for this. It appears that FusionCharts simply does not report this information and I could not do what I was trying to do.

Drill down Fusioncharts PHP class

Can anyone tell me how do i create drill down fusioncharts using PHP class wherein all the data is present in one file and i can link the chart to the another chart present in that same file?
You actually need to create LinkedCharts (as per FusionCharts coined it). PHPClass does not allow you to create the data for the LinkedCharts. You would need to create the data using
your own PHP code and the pass the data to the chart.
Also, to change chart type, you would need to add JavaScript LinkedChart configuration.