Is there a way to use a chart as a link? So if I click on anywhere on the chart, it acts as a link e.g. to a page?
I tried to put oh-chart into a oh-cell but then the chart is not shown. If I put it into a oh-link, only part a small part of the f7-card is used. And only outside the the actual chart, the mouse changes to the hand to indicate a link and clicking does nothing apart form flickering the chart. Can I put something transparent on top of the chart which acts as a link?
This is what I currently have:
uid: widget_chart
tags: []
props:
parameters:
timestamp: Feb 15, 2022, 9:41:44 PM
component: f7-card
config: {}
slots:
default:
- component: oh-link
config:
action: navigate
actionPage: myPage
slots:
default:
- component: oh-chart
config:
period: D
slots:
grid:
- component: oh-chart-grid
config: {}
series:
- component: oh-time-series
config:
gridIndex: 0
item: myItem
type: line
xAxisIndex: 0
yAxisIndex: 0
xAxis:
- component: oh-time-axis
config:
gridIndex: 0
yAxis:
- component: oh-value-axis
config:
gridIndex: 0
scale: true