InetSoft provides a chart and data access engine that ISV's or SaaS providers can use to embed charts in their applications.
InetSoft's embeddable charts provide:
#1 Ranking: Read how InetSoft was rated #1 for user adoption in G2's user survey-based index | Read More |
Style BI is a business intelligence platform that enables users to create interactive dashboards and reports. One of the key features of Style BI is its ability to embed charts and dashboards into various applications and websites. In this article, we will explore the options available for embedding charts using Style BI.
Embedding charts and dashboards can enhance the user experience by providing real-time insights and analytics within the application or website. This can lead to better decision-making, improved productivity, and enhanced customer engagement. Style BI offers several options for embedding charts, each with its own advantages and use cases.
One of the simplest ways to embed Style BI charts is by using an iframe. This involves copying the iframe code from the Style BI dashboard and pasting it into the HTML code of the application or website.
<iframe src="https://stylebi.example.com/dashboard/iframe" width="100%" height="500" frameborder="0"></iframe>
This method is easy to implement and works well for simple use cases. However, it may not offer the level of customization and interactivity that some users require.
Style BI provides a JavaScript API that allows developers to embed charts and dashboards into web applications. This API offers a high degree of customization and interactivity, making it suitable for complex use cases.
To use the JavaScript API, developers need to include the Style BI JavaScript library in their application and then use the API to render the chart or dashboard.
var dashboard = new StyleBI.Dashboard({
container: "dashboard-container",
dashboardId: "dashboard-id",
serverUrl: "https://stylebi.example.com",
renderMode: "viewer"
});
Style BI also provides a REST API that allows developers to access charts and dashboards programmatically. This API can be used to embed charts into applications and websites, as well as to automate tasks and workflows.
To use the REST API, developers need to make HTTP requests to the Style BI server, specifying the chart or dashboard ID, as well as any other required parameters.
GET https://stylebi.example.com/api/dashboards/dashboard-id HTTP/1.1
Authorization: Bearer access-token
Style BI supports single sign-on (SSO), which allows users to access embedded charts and dashboards without having to log in separately. This can enhance the user experience and improve security.
To implement SSO, developers need to configure the Style BI server to use an SSO provider, such as Active Directory or OAuth. They can then use the Style BI API to authenticate users and authorize access to charts and dashboards.
For complex use cases or custom requirements, Style BI offers a range of customization options, including custom themes, layouts, and visualizations. Developers can use these options to create bespoke embedded chart solutions that meet specific business needs.
Embedding charts and dashboards using Style BI offers several benefits, including:
When embedding charts and dashboards using Style BI, developers should follow best practices to ensure a successful implementation. These include: