OnClick is working.
As a work around I’m using href and opening a full filtered list. Code below works fine.
However, I’d like to stay on the dashboard.
var handlers = {};
handlers.preRender = function (config, logger) {
logger.debug('Configuration: ', config);
I'd like to confirm, before I spend too much time looking into it, is linking a chart to a view possible in O365 modern experience? Chart and List View are both modern webparts. Multiple charts on the page, only a single list view webpart. Seems the server says no?
Dear @AdamSmith,
You can try filtering the modern list with default filtering functionality:
This will give you a URL which you need to construct with the chart:
You do not need a hash at all, like you did with the classic lists, so the code might even be simplified. I don't think the errors are related to the issue at hand, most likely they're something, and the filter value simply doesn't work, because it's not connect for modern list.
Similar to this post, I would like to create a hyperlink for each individual bar on my chart. However, I am unable to find anything that will allow me to link an individual item in a series. Is there such an event, method, or other manner in which I could hyperlink a file from a Document Library to each row in the bar chart?