Spline area chart set border radius #5029
ItsNotExist
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How can the corners of a spline area chart be rounded, because a border raidus on the SVG of the chart leaves a small corner despite rounding, because it does not round 100% cleanly, for whatever reason. Furthermore I had to set an offsetY because the chart was not at the bottom of my div although no margin or padding was set in the parent div as well as the chart div, it almost looks like the axisborder is still displayed but invisible due to the sparkline setting. Important is the border-radius! Can someone help me?
CSS:
`.charts-container {
display: flex;
flex-direction: row;
gap: 5rem;
}
.charts-box {
border-radius: 10px;
background-color: var(--secondary-color);
}`
HTML:
`
JS:
`var options = {
series: [
{
name: 'Hotend - 1',
data: [31, 40, 28, 51, 42, 109, 100]
},
};`
Beta Was this translation helpful? Give feedback.
All reactions