livio
(livio)
1
dear all
it’s possible to change the color of trendline?
- component: oh-trend
config:
trendItem: =[props.itemTemp]
style:
--f7-theme-color-bg-color: transparent
background: var(--f7-theme-color-bg-color)
filter: opacity(30%)
position: absolute
width: 100%
height: 100%
top: 0
left: 2
z-index: 1
thanks in advance
crnjan
(Crnjan)
2
- component: oh-trend
config:
trendGradient: ['#f00']
Maybe this link might be helpfull …
livio
(livio)
3
thanks crnjan, it works and the liink is very useful,
But why other properties doesn’t works in OH?
I try with
- component: oh-trend
config:
trendRadius: ['1']
and also with
- component: oh-trend
config:
trendRadius: '1'
but it has no effect
thanks again for your help
crnjan
(Crnjan)
4
Not all properties seems to be mapped as far as I can see from code.
Only trendGradient
(maps to gradient
), trendWidth
(maps to width
) and trendStrokeWidth
(maps to stroke-width
) are exposed.
system
(system)
Closed
6
This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.