Document toolboxDocument toolbox

Rich text editor

Applies to: Kyvos Enterprise  Kyvos Cloud (SaaS on AWS) Kyvos AWS Marketplace

Kyvos Azure Marketplace   Kyvos GCP Marketplace Kyvos Single Node Installation (Kyvos SNI)


Kyvos supports the Rich Text Editor for KPI charts and HTML Cards.

Rich Text Editor for KPI Cards

If you are editing a KPI chart, you can use the rich text editor to customize the design. 

For this, perform the following steps.

  1. Select the view type as KPI to use the Rich Text Editor on your worksheet.

  2. From the properties on the right, select the Template as None, and then click the Customize Design link.


    The Rich Text Editor is displayed, as shown in the following figure.

    image-20240530-062331.png

Inserting Measure Value, Filter Value, or Parameter Value in a KPI

For KPI, you can insert placeholders for measures, parameters, and filters that get replaced with the actual values. For this, use the Insert menu, the existing measures, filters, and parameters in the underlying worksheet are displayed in the list.

To include a measure, filter, or parameter in the KPI template, you can add a placeholder in the KP editor. The actual values will be displayed in the worksheet/dashboards.

Note

Updating the filter or measure value used in the custom KPI updates KPI automatically on the dashboard.

To add a placeholder, perform the following steps:

  1. On the worksheet design page, drag the measure onto the Y-axis shelf of the KPI and apply filters that you want to include in KPI

  2. Select the Template as None, and click Customize Design.

    image-20240530-062438.png
  3. On the Rich Text Editor dialog, click Insert and select the Measures, Filters, or Parameters as shown in the image. The corresponding placeholders are added to the dialog, which will be replaced with the actual value in KPI.

Inserting images in KPI

To insert an image in the KPI, perform the following steps.

  1. On the Rich Text Editor, click the three-dot menu, and click the image icon to insert the image.

  2. On the displayed Insert/Edit Image dialog, you can insert the image using any of the following:

    1. If it is an online image, provide the image URL in the Source field.

    2. If the image is placed at the Kyvos setup location, you can pick it from the Image list.

      image-20240530-062800.png

Note

You can change the Width and Height of the image. To unlock sizing, click the lock icon.

Only the images placed at client\themes\worksheet\images\custom\ location are displayed in the Images list.

Conditional highlighting in KPIs

You can add conditions for highlighting a KPI text. Using the Conditions option, you can design beautiful templates with customized KPIs with the following capabilities:

  • Highlight text conditionally

  • Show/hide text conditionally

  • Alter of text conditionally

To use conditions for highlighting, perform the following steps.

  1. For this, click Insert > Conditions

  2. Select the conditions from If-Else, If-ElseIf, Complex If, or Complex If-else-If.

    image-20240530-072823.png

Let us consider an example where you want to highlight the KPI such that if the discount is greater than zero, it should be shown in Green; otherwise in Red.

For this, select the if-else option and create a branch with the default condition, as shown in the image below.

image-20240530-073156.png

Now, you can customize the condition and template design as needed. 

As you can see, the discount is greater than zero and is shown in Green.

If the discount is less than zero, it is shown in Red.

Rich Text Editor for HTML Cards

You can also use the Rich Text Editor options in the HTML card on the dashboard.

For this, click Add Card and select the HTML card option.

On the Add HTML Card dialog, use the editing options to add a card with custom formatting, images, or tables.

image-20240530-062919.png

Similarly, while working with KPI, you can change the font family and font size and do basic formatting, including paragraph alignment and adding bullets and numbers. You can also change the foreground and background color of the text. You can also insert pictures, tables, and links and indent or omitted text. Use the three-dot menu to access additional functionalities.

image-20240530-073332.png

Tips and recommendations for working with Rich Text Editor

Here are some recommendations and designing tips for working with a rich text editor.

  1. There are two ways of inserting images while designing in the rich text editor:

    1. You can an image available on the internet. For this, provide its URL path when you are inserting the image.

    2. Put your images at the client\themes\worksheet\images\custom\ location.  Kyvos will fetch them and display them on the image list. 

  2. To add text in front of the image, we recommend you use tables. Put your text in one column and the image in another. 

  3. If you are using a table while designing KPI, it is recommended not to change its width because when this KPI is used in the dashboard, table resizing (inside KPI) would not work properly on resizing of data card. 

  4. We recommend using tables in your design to avoid issues related to arrangement and alignment.

Sample Designs

Here's a sample KPI design that you can create using the rich text editor.

To create the sample KPI as shown in the figure above, perform the following steps:

  1. Open the Rich text editor using the Custom Design link.

  2. Enter the text “Return on Investment YTD” and select Font Family and Size according to your choice. 

  3. Using the three-dot menu, insert a table to create a Table of 1*2 size.

  4. In the first column, add the image that you want to display in the cell.

  5. In the second column, enter the text as ROI. 

  6. Press Enter and then add a measure placeholder for percentage value and type the % symbol after that. 

  7. Press Enter and then add a table of size 1*5. 

  8. In this table, write Target in the first column. In the second column, write the percentage value that you want to show. Leave the third column blank. In the fourth column, add an image for the arrow. In the fifth column, write 842%. 

  9. Now select a Background for each cell of the table and the Font Color for the text.

Tips

  • You can select an image by providing the image URL in the Source field, or by selecting the image from the Image List. The image list is displayed only if you have placed images at the client\themes\worksheet\images\custom\ location.

  • You can choose the background color, text color, and font family according to your choice. 

 

Copyright Kyvos, Inc. All rights reserved.