Skip to content

Commit cbc7d13

Browse files
authored
(DOCSP-25295) Adds Edit a Chart's Data Source section for link from UI (#557)
* (DOCSP-25295) Adds Edit a Chart's Data Source section for link from UI * Adds space to end of include file
1 parent cb443d6 commit cbc7d13

File tree

4 files changed

+60
-3
lines changed

4 files changed

+60
-3
lines changed

source/build-charts.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ Build Charts
1515
Charts provide visual representations of the data in your
1616
:doc:`data source <data-sources>`. A chart maps to a *single*
1717
data source, and can display correlations between several fields in the
18-
data. Charts reside inside :doc:`dashboards </dashboards>`. You must create a :doc:`dashboard </dashboards>` before you can begin building charts.
18+
data. Charts reside inside :doc:`dashboards </dashboards>`. You must
19+
create a :doc:`dashboard </dashboards>` before you can begin building
20+
charts.
1921

2022
For a complete list of available chart types and how to build specific
2123
charts, refer to the :ref:`Chart Types <chart-type-reference>` page.

source/data-sources.txt

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,35 @@ Manage Deployments
4343
To manage settings for the |service| deployments that contain your data
4444
sources, see :ref:`manage-deployment`.
4545

46+
.. _edit-data-source:
47+
48+
Edit a Chart's Data Source
49+
--------------------------
50+
51+
To edit the data source for an existing chart:
52+
53+
.. procedure::
54+
:style: normal
55+
56+
.. step:: Select your dashboard.
57+
58+
From the :guilabel:`Dashboards` page, select the dashboard that
59+
contains the chart.
60+
61+
.. step:: Click :guilabel:`Edit` on the chart you want to edit.
62+
63+
.. step:: Click the button under :guilabel:`Data Source` on the top left of the chart builder.
64+
65+
The button says :guilabel:`Select` if you have not selected a
66+
data source, or it says the name of the currently selected data
67+
source.
68+
69+
.. include:: /includes/select-data-source.rst
70+
71+
72+
To learn how to set the data source for a new chart,
73+
see :doc:`Build Charts <build-charts>`.
74+
4675
.. _charts-sample-data:
4776

4877
Try Out |charts-short| with the Sample Data Source
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
.. step:: Click the :guilabel:`Project` tab.
2+
3+
All of your connected deployments appear.
4+
5+
.. note::
6+
7+
A deployment and its data sources won't display on the
8+
:guilabel:`Select Data Source`
9+
modal unless they are connected to |charts-short|. Only a
10+
:authrole:`Project Owner` can :ref:`connect or disconnect
11+
<connect-disconnect-data-source>` deployments and data sources.
12+
All deployments and data sources in the project connect to
13+
|charts-short| by default.
14+
15+
.. step:: Click the name of the deployment that contains the data source.
16+
17+
.. step:: Click the name of the database that contains the data source.
18+
19+
The database's data sources appear. You can click on a data source's
20+
name to view a preview of its data.
21+
22+
.. step:: Click :guilabel:`Select` on the data source.
23+

source/manage-dashboards.txt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,11 @@ Edit a Chart
125125
~~~~~~~~~~~~
126126

127127
To edit a chart, hover over the desired chart and click the
128-
:guilabel:`Edit` button. For details on the available editing options,
129-
see :doc:`Build Charts <build-charts>`.
128+
:guilabel:`Edit` button.
129+
130+
To learn how to edit a chart's data source, see
131+
:ref:`edit-data-source`. To learn how to set the data source for a new
132+
chart, see :doc:`Build Charts <build-charts>`.
130133

131134
.. _dashboard-remove-chart:
132135

0 commit comments

Comments
 (0)