Categories

System Admin
DXM
Documents
Data

Links

Line Chart App – Styles

After creating your line chart app, you can amend the Line Chart styles. Most styling is done under the Configuration tab, but fonts are edited under the Styles tab.

Table of Contents

Line Color & Weight

  1. Click Configuration.
  2. Browse to Components | Line Chart | Chart Props, then click Series Props.
  3. Click one of the options under Series Props, e.g. KS Alpha Fund.
  1. Type in a color name or hex code in the Stroke field.
  2. Type in a stroke width (in pixels).
  1. Click back to Series Props.
  2. Repeat this process for any additional lines.
  1. Click Save.
  2. Type in a comment, then click Confirm.

Legend Icon

  1. With the Configuration tab selected, browse to Components | Line Chart | Chart Props.
  2. Click Element Overrides.
  3. Click Legend.
  1. Use the dropdown arrow to select a different Icon Type, e.g. star.
  2. Click Save.
  3. Type in a comment, then click Confirm.

Font

  1. With the Styles tab selected, click Add Element+.
  2. Select Components.
  3. Click Save.
  1. Click Components.
  2. Click Add Element+.
  1. Select Line Chart (this will apply the same font styles to all text in the line chart app).
  2. Click Save.
  3. Click Line Chart.
  1. Click Add Element+.
  2. Scroll or use the search bar to select Font.
  3. Click Save.
  1. Click Font.
  2. Click Add Element+.
  1. Scroll down or use the search bar to select Family and Size.
  2. Click Save.
  1. Type in a font Family.
  2. Type in a font Size.
  3. Click Save.
  4. Type in a comment, then click Confirm.

Tooltip Background

  1. With the Style tab selected, click Add Element+.
  2. Select Theme, then click Save.
  1. Click Theme.
  2. Click Add Element+.
  1. Select Charting, then click Save.
  2. Click Charting.
  1. Click Add Element+.
  2. Scroll or search to select Line Chart, then click Save.
  1. Click Line Chart.
  2. Click Add Element+.
  1. Scroll or search to select Overrides, then click Save.
  2. Click Overrides.
  1. Click Add Row+ twice.
  2. Click 1.No Label.
  1. Selector* – type in the name of the selector that is referenced in the CSS, in this case .recharts-default-tooltip (make sure you include the period in front).
  2. Click +Create Component Style*.
  3. Click Add Element+.
  1.  Select Background and Border, then click Save.
  2. Click Background.
  1. Click Add Element+.
  2. Scroll or search to select Color.
  1. Type in a Color name or hex code followed by !important, this will override any other potential colors.
  2. Browse to Border in the left navigation pane, then click Add Element+.
  1.  Select Value, then click Save.
  2. Type in a Color name or hex code, a border Style and a value for Width in pixels followed by !important.
  1. Click Save.
  2. Type in a comment, then click Confirm.

Ticker Line/Cursor

  1. Browse to Components | Line Chart | Chart Props, then click Element Overrides.
  2. Click Tooltip.
  1. Use the dropdown arrow below Cursor to select boolean.
  2. Leave the checkbox unchecked.
  3. Click Save.
  4. Type in a comment, then click Confirm.

Y-Axis Range

  1. Browse to Components | Line Chart | Chart Props, then click Element Overrides.
  2. Scroll or search to select Overrides, then click Save.
  1. Change the Tick Pivot Point value, e.g. to “0”. The y-Axis will now start at “0”.
  2. Click Add Element+.
  3. Scroll or search to select Tick Count, then click Save.
  1. Type in a value for the Tick Count to increase the number of ticks in the y-Axis, e.g. “8”.
  2. Click Save.
  3. Type in a comment, then click Confirm.