Arc
- Last UpdatedJun 22, 2023
- 1 minute read
You can modify the style for the HTML elements of Arc using SVG elements and CSS classes.
|
HTML Element |
CSS Class |
|---|---|
|
Unit of Measurement (UOM) |
.skarc-uom#skarc-uomid |
|
Value |
.skarc-value#skarc-valueid |
|
Title |
.skarc-title#skarc-titleid |
|
Scale Ticks |
.skarc-scaleticks |
|
Scale Text |
.skarc-scaletext#skarc-scaletextid |
Prefix the Custom Style Identifier of a control with the CSS Class name to apply the style to the specific control. For example:
/* arc1id is the Custom Style Identifier of the Arc control. */
.arc1id_skctr
Note: If you plan to use your own CSS file, the Custom Style Identifier that you define in the file must match the value that you specify in the Custom Style Sheet Identifier property in the Appearance tab of the control's properties page. For example: arc1id
Example
/* Change scale text fill color and font to black and Roboto. */
.arc1id_skctr .skarc-scaletext#skarc-scaletextid
{
fill: black !important;
font-family: 'Roboto' !important;
font-weight: 400 !important;
font-size: 15px !important;
}