I'd like to place a solid border around a chart panel in XML - I'm struggling to comprehend how this is done within XML/CSS.
I was able to add a border to the Single Value panels in the 'Image Overlay with Single Values' example from the Dashboard Examples app by modifying the CSS as below:
.singleValue {
font-size: 4em;
font-weight: bold;
background-size: cover;
height: 100px;
width: 100px;
border-style: solid;
border-color: #ff0000 #0000ff;
But I understand this is done in an HTML panel.
I have limited CSS / XML experience and have spent several hours attempting to figure out how to apply this to a chart panel in XML.
I have attempted to apply a Class directly in the xml
Eg <chart class="ColourBorder">
.ColourBorder {
border-color: #ff0000 #0000ff
border-style: solid;
}
I believe I have this all fundamentally muddled.
thank you.
MB
... View more