1
1
.. _value-axis-options:
2
2
3
3
==================
4
- Value- Axis Options
4
+ Value Axis Options
5
5
==================
6
6
7
7
.. default-domain:: mongodb
@@ -12,4 +12,95 @@ Value-Axis Options
12
12
:depth: 1
13
13
:class: singlecol
14
14
15
- TBD
15
+ |charts| offers several customization options which modify the
16
+ representation of a chart's X and Y value axes without affecting the
17
+ formatting of the data points in the visualization.
18
+
19
+ .. figure:: /images/charts/value-axis-custom.png
20
+ :figwidth: 251px
21
+ :alt: Value axis customizations
22
+
23
+ .. note::
24
+
25
+ A value axis shows a continuous scale of values. Charts such as
26
+ :ref:`Bar/Column <column-bar-chart-ref>` and
27
+ :ref:`Discrete Line/Area <discrete-charts>` have just one
28
+ value axis. :ref:`Continuous line and area <continuous-charts>`
29
+ and :ref:`scatter <scatter-chart-ref>` charts have two value
30
+ axes.
31
+
32
+ .. _max-min-options:
33
+
34
+ Max and Min
35
+ -----------
36
+
37
+ The :guilabel:`Max` and :guilabel:`Min` value axis options allow
38
+ you to specify maximum and minimum values to display on a chart.
39
+ Any data points with values outside the specified limits appear at
40
+ the boundaries of the chart. Setting a maximum display value
41
+ is useful for removing outlying data from the chart and
42
+ allowing the viewer to focus on more relevant information.
43
+
44
+ .. note::
45
+
46
+ Changing the minimum for bar and column charts from the default
47
+ of zero is not recommended. Doing so means the length of the
48
+ bars is no longer proportional to the data point values.
49
+
50
+ Available for the following chart types: :ref:`Bar/Column
51
+ <column-bar-chart-ref>`, :ref:`Discrete and Continuous Line
52
+ <line-area-chart-ref>`, :ref:`Discrete and Continuous Area
53
+ <discrete-charts>`, :ref:`Scatter <scatter-chart-ref>`
54
+
55
+ Logarithmic Scale
56
+ -----------------
57
+
58
+ Toggling the :guilabel:`Logarithmic Scale` switch to the
59
+ :guilabel:`On` position causes your chart
60
+ to use a logarithmic scale instead of a linear scale for data
61
+ values. Using a logarithmic scale is helpful for showing
62
+ the percentage change from one value to the next and for charts
63
+ with a large value differential from smallest to largest. Data sets
64
+ such as stock market movements, earthquake strength measurements, and
65
+ global population sizes are good use cases for a logarithmic scale
66
+ chart.
67
+
68
+ Logarithmic Scale Considerations
69
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
70
+
71
+ - Use the :guilabel:`Logarithmic Scale` option only with chart data
72
+ that consists of either all positive values or all negative values.
73
+ If the chart includes a mix of positive and negative values, or if
74
+ it includes the value ``0``, the chart will not render.
75
+
76
+ - Bar and column charts normally have a baseline of ``0``, but
77
+ logarithmic scale charts have a baseline of ``1`` because
78
+ ``log(0)`` is undefined. As a result, charts with data points between
79
+ ``0`` and ``1`` do not render well. You can mitigate this effect by
80
+ setting the :ref:`axis minimum <max-min-options>` of the chart to
81
+ a value greater than zero but smaller than the lowest value in the
82
+ data set.
83
+
84
+ Available for the following chart types: :ref:`Grouped and
85
+ Colored Bar/Column <column-bar-chart-ref>`, :ref:`Discrete and
86
+ Continuous Line <line-area-chart-ref>`, :ref:`Scatter
87
+ <scatter-chart-ref>`
88
+
89
+ Label Override
90
+ --------------
91
+
92
+ The :guilabel:`Label Override` field allows you to create a
93
+ custom axis label. Custom labels can be more descriptive
94
+ than the default labels and help chart viewers quickly grasp
95
+ the significance of chart data.
96
+
97
+ The Label Override customization option is available on the ``X``
98
+ or ``Y`` value axis for charts in which the author has encoded multiple
99
+ data series by mapping more than one field on a given axis.
100
+ To customize the axis label for charts that have a single field mapped,
101
+ use the Label Override option within that field's customization
102
+ options.
103
+
104
+ Available for the following chart types: :ref:`Bar/Column
105
+ <column-bar-chart-ref>`, :ref:`Line <line-area-chart-ref>`,
106
+ :ref:`Area <line-area-chart-ref>`, :ref:`Scatter <scatter-chart-ref>`
0 commit comments