How to display items that make up a slice of a pie chart in Kibana? - kibana

I am attempting to create a pie chart that will display the health status of various systems. This is what the chart currently looks like:
Each data point, in addition to the possible errors messages, has a name in its data.
Is it possible to configure the chart so the system names are shown in the pie chart? In the tooltip for each slice would be preferable, but any solution will work.

You can Add (button at the buttom of the configuration) a second visualization, which will then add another layer around your first visualization.
This is an example for log.level and around it labels.url.full:

Related

Why there is no "Top ..." in "Order Option in Kibana Visualization creation

I just started learning ELK, the data I am using has the following sample:
"YEAR","QUARTER","MONTH","DAY_OF_MONTH","DAY_OF_WEEK","FL_DATE","UNIQUE_CARRIER","AIRLINE_ID","CARRIER","TAIL_NUM","FL_NUM"
2016,1,1,6,3,2016-01-06,"AA",19805,"AA","N4YBAA","43"
2016,1,1,7,4,2016-01-07,"AA",19805,"AA","N434AA","43"
2016,1,1,8,5,2016-01-08,"AA",19805,"AA","N541AA","43"
2016,1,1,9,6,2016-01-09,"AA",19805,"AA","N489AA","43"
2016,1,1,10,7,2016-01-10,"AA",19805,"AA","N439AA","43"
When I am creating my first visualization, I want to have a pie chart to show the top stats of "CARRIER", in Kibana, below is what I see:
You can see from the left panel setting "Order", there is no "Top" in the dropdownlist, which causes the chart area shows one pie for the lowest stats of "CARRIER" which in this case is WN, and the rest is grouped into the second pie.
Doesn't make any sense here.
I watched some tutorial videos and there supposed to have more options in the dropdownlist like Top, which means for pie chart creation.
Am I missing anything here? How do I create the needed pie chart?
Thank you very much.
The "Size" parameter is actually the "Top X" you are looking for.
In your chart, it shows only 1 value, and it chooses the first value by order of ascending.
Change it to have more values.

How to show a plot in a tooltip with Shiny

I'm building a Shiny app using ggvis, and I need to show a plot (a bar chart, for example) in a tooltip.
So basically, when a user clicks one of the points in the main plot I want a tooltip (or something of the sort) to display a new plot with extra information.
Is it possible to do this with Shiny?
The shiny demo at: http://shiny.rstudio.com/gallery/plot-interaction-selecting-points.html shows code where clicking on (or near) a point produces text output, you could modify that to create the second graph instead. I don't know how to do it like a tool tip, but this would produce the graph next to, or just below the graph being clicked on. The example uses ggplot2 rather than ggvis, so I don't know how that would change things.

Bokeh Charts: Custom HoverTool variables for Bar Charts

If I make a bar chart like this:
bar = Bar(data,labels,tools='Hover')
I can make tooltips like this:
hover = bar.select(dict(type=HoverTool))
hover.tooltips = [
('Grade',' $x'),
('Students',' #Students'),
]
However, when I do variables with '#variable' in the tooltips, I am limited to those specified in data. In normal Bokeh plots, I can have custom variables associated with data points by using a ColumnDataSource. Bar does not support ColumnDataSources. Is there another way to make custom variables available in Bokeh chart tooltips (hover)?
There's is an open PR to add this feature to the charts interface.
It's going to be part of the next bokeh release and also be available through the dev builds (or in the master branch of course) as soon as it gets merged if you need it sooner.
I had the same problem. The trick here is to use GlyphRenderer to make the bar chart aware of the data source. For e.g., you can add a line
bar.select(dict(type=GlyphRenderer)) before hover = bar.select(dict(type=HoverTool)). You can then refer your custom variables using #cat, #zero etc. See the following link for more information and a working example.
https://groups.google.com/a/continuum.io/forum/#!topic/bokeh/-aDPTqDPA3M

ASP.NET charts trend line

I have basic bar charts showing some value (1 value per chart) on each day. The charts are rendered using standard MS ASP.NET charts.
Now I would like to add a trend line. Has somebody done such thing and would be so kind to give me some hints how to approach this task? I know how to add a line to the chart, just would like to know whether someone already did such thing.
If I have understood the question correctly, you want to show a line graph using the same values that each bar is drawn.
You can do this by adding one more series with chart type as line to the same chart area.
Make the Y-axis for the series as secondary and keep X-axis as primary (to keep same X-axis values for both Bar & line graph). Or you can also make X-Axis of this new series as Secondary (this will show labels on top of chart area) .

Show all series' values in stacked bars mouseover (ASP.NET CHART)

I'm using the asp.net Chart control to present a stacked bars chart.
I can create a mouseover custom tooltip using this code:
series.MapAreaAttributes = "onmouseover=\"showTooltip('#VALY');\"";
... which works fine. But I can't seem to find a way to show the rest of the values for the other series in that column.
Example:
I have 2 series (Paid and Unpaid) making up a single column in the chart. When I mouseover any of the series, I want to show both the value of the moused-over series, but also the other series contained in that particular stacked column.
Can anyone point me in the right direction?
We're also using stacked bar charts - we have click through functionality, for users to drill into the data making up each point in each series : we use something like this on each data point.
series.Points[index].MapAreaAttributes = "onclick=\"window.opener.location=this.href;window.opener.focus();return false;\"";

Resources