[Rt-commit] rt branch, 5.0-trunk, updated. rt-5.0.0alpha1-475-gd6a85ff2d0

? sunnavy sunnavy at bestpractical.com
Tue May 19 13:50:06 EDT 2020


The branch, 5.0-trunk has been updated
       via  d6a85ff2d06fc27d9502b8157815fd0d9a43ffb1 (commit)
       via  cb1e16e282eb4b92eb08ec90727f141ebf11ef81 (commit)
      from  b23ca443211a96d15b22cf1b1b3d8ddbdd521b7e (commit)

Summary of changes:
 docs/charts.pod                                 |  32 ++++++++++++++++++------
 docs/images/dashboard-chart.png                 | Bin 48074 -> 40754 bytes
 docs/images/general-owner-chart.png             | Bin 43333 -> 56721 bytes
 docs/images/general-owner-lastupdated-chart.png | Bin 66473 -> 54751 bytes
 docs/images/general-status-chart.png            | Bin 39175 -> 71339 bytes
 docs/images/queue-created-started-chart.png     | Bin 74489 -> 114892 bytes
 6 files changed, 24 insertions(+), 8 deletions(-)

- Log -----------------------------------------------------------------
commit cb1e16e282eb4b92eb08ec90727f141ebf11ef81
Author: Craig Kaiser <craig at bestpractical.com>
Date:   Mon Mar 30 08:50:26 2020 -0400

    Update chart docs for chartjs

diff --git a/docs/charts.pod b/docs/charts.pod
index 30b9ba69a5..658a97832e 100644
--- a/docs/charts.pod
+++ b/docs/charts.pod
@@ -7,19 +7,35 @@ last year?) to regular status reports that you then include in
 shared dashboards that everyone can see.
 
 RT has had charts for a long time, but many significant improvements
-came in RT 4.2. If you're running a version of RT earlier than
-4.2 some options and features described here may not be available.
+were made in RT 4.2. Another significant change was made in RT 5.0
+when we converted the web chart library to Chart.js.
 
 =head1 Enabling Charts
 
+=head2 C<$EnableJSChart>
+
+Starting in RT 5.0, by default charts are rendered by Chart.js,
+a javascript charting library. If you'd like to disable javascript
+rendered charts, you can set this configuration value to false. To use
+GD charts instead of JS charts, set the C<--enable-gd> option
+when running the configure script to install RT.
+
+If you send charts in dashboards via email, GD is still used to
+generate embedded chart images for email. If GD isn't available,
+users can click on the link in email and view charts in RT.
+However, the chart in RT will then show data based on the time
+you click rather than capturing ticket data at the time the email
+was generated.
+
 =head2 Installing GD
 
-While charts is a core part of RT, you do need to enable it using
-the C<--enable-gd> option and install the required dependencies when
-you install RT. If you didn't originally install with this flag, you can
-enable it by re-running the L<< C<configure> >> script from the RT
-distribution (including all previous options passed to it originally)
-or doing the following in your current install:
+While charts is a core part of RT, if you want to use GD charting in place
+of JS charting then you do need to enable GD it using the C<--enable-gd>
+option and install the required dependencies when you install RT.
+If you didn't originally install with this flag, you can enable it by
+re-running the L<< C<configure> >> script from the RT distribution
+(including all previous options passed to it originally) or doing the
+following in your current install:
 
 =over
 
diff --git a/docs/images/dashboard-chart.png b/docs/images/dashboard-chart.png
index 51013e7c90..9478420e8c 100644
Binary files a/docs/images/dashboard-chart.png and b/docs/images/dashboard-chart.png differ
diff --git a/docs/images/general-owner-chart.png b/docs/images/general-owner-chart.png
index 56e429ea9d..11038bdd9c 100644
Binary files a/docs/images/general-owner-chart.png and b/docs/images/general-owner-chart.png differ
diff --git a/docs/images/general-owner-lastupdated-chart.png b/docs/images/general-owner-lastupdated-chart.png
index 54f3f49e19..0e836259b4 100644
Binary files a/docs/images/general-owner-lastupdated-chart.png and b/docs/images/general-owner-lastupdated-chart.png differ
diff --git a/docs/images/general-status-chart.png b/docs/images/general-status-chart.png
index 3d208f9013..d54ef72c8f 100644
Binary files a/docs/images/general-status-chart.png and b/docs/images/general-status-chart.png differ
diff --git a/docs/images/queue-created-started-chart.png b/docs/images/queue-created-started-chart.png
index b0aa833869..6dafb2a318 100644
Binary files a/docs/images/queue-created-started-chart.png and b/docs/images/queue-created-started-chart.png differ

commit d6a85ff2d06fc27d9502b8157815fd0d9a43ffb1
Merge: b23ca44321 cb1e16e282
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Wed May 20 01:43:49 2020 +0800

    Merge branch '5.0/chartjs-documentation' into 5.0-trunk


-----------------------------------------------------------------------


More information about the rt-commit mailing list