You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
image::images/canvas-functions-can-take-arguments-pie-chart.png[Pie chart showing output of demodata function]
34
34
[source,text]
35
35
----
36
36
filters
@@ -47,7 +47,7 @@ If the expression stopped there, it would produce a `pointseries` data type as t
47
47
The end result is a simple pie chart that uses the default color palette, but the <<pie_fn, pie>> function can take additional arguments that control how it gets rendered. For example, you can provide a `hole` argument to turn your pie chart into a donut chart by changing the expression to:
image::images/canvas-functions-can-take-arguments-donut-chart.png[Alternative output as donut chart]
51
51
[source,text]
52
52
----
53
53
filters
@@ -83,7 +83,7 @@ You can substitute one function for another to change the output. For example, y
83
83
84
84
Let’s change that last pie chart into a bubble chart by replacing the <<pie_fn, pie>> function with the <<plot_fn, plot>> function. This is possible because both functions can accept a `pointseries` data type as their _context_. Switching the functions will work, but it won’t produce a useful visualization on its own since you don’t have the x-axis and y-axis defined. You will also need to modify the <<pointseries_fn, pointseries>> function to change its output. In this case, you can change the `size` argument to `y`, so the maximum price values are plotted on the y-axis, and add an `x` argument using the `@timestamp` field in the data to plot those values over time. This leaves you with the following expression and produces a bubble chart showing the max price of each state over time:
image::images/canvas-change-your-expression-chart.png[Bubble Chart, with price along x axis, and time along y axis]
87
87
[source,text]
88
88
----
89
89
filters
@@ -95,7 +95,7 @@ filters
95
95
96
96
Similar to the <<pie_fn, pie>> function, the <<plot_fn, plot>> function takes arguments that control the design elements of the visualization. As one example, passing a `legend` argument with a value of `false` to the function will hide the legend on the chart.
97
97
98
-
image::images/canvas-change-your-expression-chart-no-legend.png[Bubble Chart Without Legend, height=400]
98
+
image::images/canvas-change-your-expression-chart-no-legend.png[Bubble Chart Without Legend]
image::images/canvas-generate-pdf.gif[Image showing how to generate a PDF]
30
30
31
31
For more information, refer to <<reporting-getting-started, Reporting from Kibana>>.
32
32
@@ -39,7 +39,7 @@ If you have a subscription that supports the {report-features}, you can create a
39
39
Click *Share > PDF reports > Copy POST URL*.
40
40
41
41
[role="screenshot"]
42
-
image::images/canvas-create-URL.gif[Create POST URL]
42
+
image::images/canvas-create-URL.gif[Image showing how to create POST URL]
43
43
44
44
For more information, refer to <<automating-report-generation, Automating report generation>>.
45
45
@@ -58,7 +58,7 @@ beta[] Canvas allows you to create _shareables_, which are workpads that you dow
58
58
To make sure that your data remains secure, the data in the JSON file is not connected to {kib}. Canvas does not display elements that manipulate the data on the workpad.
59
59
+
60
60
[role="screenshot"]
61
-
image::canvas/images/canvas-embed_workpad.gif[Share the workpad on a website]
61
+
image::canvas/images/canvas-embed_workpad.gif[Image showing how to share the workpad on a website]
62
62
+
63
63
NOTE: Shareable workpads encode the current state of the workpad in a JSON file. When you make changes to the workpad, the changes do not appear in the shareable workpad on your website.
|[RequestTimeoutError](./kibana-plugin-plugins-data-public.requesttimeouterror.md)| Class used to signify that a request timed out. Useful for applications to conditionally handle this type of error differently than other errors. |
0 commit comments