Hi Wiedo, Please find my replies in-line.
On Tue, Dec 3, 2019 at 5:53 PM W. E. <[email protected]> wrote: > Hi, > > I'm currently designing a dashboard. I've a couple of questions about the > possibilities of dashboard tooling. These are: > > > - Is it possible to connect a real time Siddhi application (created in > WSO2 SP) with a dashboard. So can I use a sink in the Siddhi application to > connect to a dashboard? > > Out of the box support is only available to write a siddhi app [1] and fetch data by writing a siddhi query [2] or to write a rdbms query[3] to fetch data. But might be possible to write a custom data provider and fetch data using a siddhi source. @Lasantha S <[email protected]> Any thoughts? [1] https://github.com/wso2/analytics-apim/blob/master/components/org.wso2.analytics.apim.widgets/APIMApiAvailability/src/resources/widgetConf.json#L13 [2] https://github.com/wso2/analytics-apim/blob/master/components/org.wso2.analytics.apim.widgets/APIMApiAvailability/src/resources/widgetConf.json#L15 [3] https://github.com/wso2/analytics-apim/blob/master/components/org.wso2.analytics.apim.widgets/APIMAppCreatedAnalytics/src/resources/widgetConf.json#L15 > > - I want to make line graph in de dashboard that may hightlighs a > certain part (multiple lines) based on some conditions. Can I create some > code to implement some condition. For example when the incoming data sends > 5 events after each other a "1" for a attribute I want to highlight those > events? > > Widget in a dashboard is basically a react component. So you can use any react libraries of your choice and build any visualization you wish. > > - Can I create a combination of line and point graph? So both lines > and points are visible? > > Are you searching for a graph like this [4] ? If so refer the code at [5] [4] https://apim.docs.wso2.com/en/latest/Learn/Analytics/AnalyzingAPIMStatisticsWithBatchAnalytics/viewing-api-statistics/#api-latency-time [5] https://github.com/wso2/analytics-apim/tree/master/components/org.wso2.analytics.apim.widgets/APIMApiLatencyTime > > - Can also add a textual box where I can display some messages in the > dashboard environment? > > Yes. You write a react component with your prefered styling of a text box and get that rendered in the dashboard. > > - Is there some documentation where I can find extensive explenation > about dashboarding. Because now I can only find a couple basic tutorials on > this link: > https://docs.wso2.com/display/SP440/Stream+Processor+Documentation > > You can find documentation at [6] or refer our sample widgets written for api manager dashboards at [7] [6] https://docs.wso2.com/display/SP440/Creating+Custom+Widgets [7] https://github.com/wso2/analytics-apim/tree/master/components/org.wso2.analytics.apim.widgets/ Thanks, Tanya Best regards, > Wiedo > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > -- *Tanya Madurapperuma* | Technical Lead | WSO2 Inc. (m) +94718184439 | (e) [email protected] <http://wso2.com/signature>
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
