For up-to-date product documentation, see the IBM MobileFirst Foundation Developer Center.
Chart types
We can create a different types of custom chart to visualize data.
Bar Graph
The bar graph allows for visualization of numeric data over an x-axis. When we define a bar graph, we must choose the value for X-Axis first. We can choose from the following possible values.
- Timeline - choose Timeline for X-Axis if we want to see your data as a trend (for example, average app session duration over time).
- Property - choose Property if we want to see a count breakdown for the specific property. If you choose Property for X-Axis, then Total is implicitly chosen for Y-Axis. For example, choose Property for X-Axis and Application Name for Property to see a count for a specified event type, which is broken down by app name.
After you define a value for X-Axis, we can define a value for Y-Axis. If you choose Timeline for X-Axis, we can choose the following possible values for Y-Axis.
- Average - averages a numeric property in the supplied event type.
- Total - a total count of a property in the supplied event type.
- Unique - a unique count of a property in the supplied event type.
After you define the chart axes, we must choose a value for Property.
Line Graph
The line graph allows for the visualization of some metric over time. This type of chart is valuable when we want to visualize data in terms of a trend over time. The first value to define when you create a line graph is Measure, which has the following possible values.
- Average - averages a numeric property in the supplied event type.
- Total - a total count of a property in the supplied event type.
- Unique - a unique count of a property in the supplied event type.
After you define the measurement, we must choose a value for Property.
Flow Chart
The flow chart allows for the visualization of flow breakdown of one property to another. For a flow chart, the following properties must be set.
- Source - the value of a source node in the diagram.
- Destination - the value of the destination node in the diagram.
- Property - a property value from either the source node or the destination node.
With the flow chart, we can see the density breakdown of various sources that flow to a destination, or vice versa. For example, if we want to see the breakdown of log severities for an app, we can define the following values.
- Select Application Name for Source.
- Select Log Level for Destination.
- Select the name of your app for Property.
Metric Group
The metric group can be used to visualize a single metric that is measured as either an average value, a total count, or a unique count. To define a metric group, we must define one of the following possible values for Measure.
- Average - averages a numeric property in the supplied event type.
- Total - a total count of a property in the supplied event type.
- Unique - a unique count of a property in the supplied event type.
After you define the measurement, we must choose a value for Property. This metric is displayed in the metric group.
Pie Chart
The pie chart can be used to visualize the count breakdown of values for a particular property. For example, if we want to see a crash breakdown, define the following values.
- Select App Session for Event Type.
- Select Pie Chart for Chart Type.
- Select Closed By for Property.
The resulting pie chart shows the breakdown of app sessions that were closed by the user as opposed to app sessions that were closed by a crash.
Table
The table is useful when we want to see the raw data. Building a table is as simple as adding columns for the raw data that we want to see.
Because not all properties are required for specific event types, null values can appear in your table. If we want to prevent these rows from appearing in your table, add an Exists filter for a specific property in the Chart Filters tab.
Parent topic: Custom charts