https://github.com/osbi/saiku-embed-element
A web component to embed Saiku Analytics using Polymer
https://github.com/osbi/saiku-embed-element
embed polymer saiku web-components
Last synced: 10 months ago
JSON representation
A web component to embed Saiku Analytics using Polymer
- Host: GitHub
- URL: https://github.com/osbi/saiku-embed-element
- Owner: OSBI
- License: apache-2.0
- Created: 2017-09-13T18:04:14.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-10-09T17:56:54.000Z (over 8 years ago)
- Last Synced: 2025-04-28T12:04:05.852Z (about 1 year ago)
- Topics: embed, polymer, saiku, web-components
- Language: HTML
- Homepage: https://www.webcomponents.org/element/OSBI/saiku-embed-element
- Size: 959 KB
- Stars: 3
- Watchers: 5
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# \
> A web component to embed Saiku Analytics using [Polymer](https://www.polymer-project.org/).
[](https://www.webcomponents.org/element/OSBI/saiku-embed-element)
## Install
Install the component using [Bower](https://bower.io/):
```sh
$ bower install saiku-embed --save
```
Or [download as ZIP](https://github.com/OSBI/saiku-embed-element/archive/master.zip).
## Usage
1. Import Web Components' polyfill:
```html
```
2. Import Element:
```html
```
3. Start using it!
```html
```
Here's an example of basic usage:
```html
saiku-embed demo
```
## Options
Attribute | Options | Default | Description
--- | :---: | :---: | ---
`url` | *String* | | Saiku's URL (**Required**).
`username` | *String* | | User name to access Saiku.
`password` | *String* | | Password to access Saiku.
`width` | *String* | `800` | The `width` attribute specifies the width of an ``, in pixels.
`height` | *String* | `600` | The `height` attribute specifies the height of an ``, in pixels.
`schema` | *String* | | Schema name. e.g: `FoodMart`
`cube` | *String* | | Cube name. e.g: `Sales`
`default_mdx_filter` | *String* | | Extend `default_mdx_filter` to add level to filter axis.
`default_mdx_filter_rows` | *String* | | Extend `default_mdx_filter_rows` to add level to rows axis.
`default_mdx_filter_columns` | *String* | | Extend `default_mdx_filter_columns` to add level to columns axis.
`lang` | `cn`, `cs`, `de`, `en`, `es`, `fi`, `fr`, `hr`, `hu`, `it`, `ja`, `ko`, `lt`, `nb`, `nl`, `pl`, `pt`, `ru` | | Specifies the language to be used.
`mode` | `view`, `edit`, `table`, `chart`, `map` | | Specifies the mode to use when opening a Saiku file.
`path_file_saiku` | *String* | | The path of your Saiku file. e.g: `/homes/home:admin/example.saiku`
`splash` | *Boolean* | `true` | Enable or disable splash screen.
`plugin` | *Boolean* | `false` | Work in plugin mode.
`hide_workspace_icons` | *Boolean* | `false` | Hide some icons on Saiku Toolbar.
`show_help` | *Boolean* | `false` | Show help using [intro.js](http://introjs.com/).
## Development
In order to run it locally you'll need to fetch some dependencies.
1. Install [Bower](http://bower.io/) & [Polymer CLI](https://www.npmjs.com/package/polymer-cli):
```sh
$ [sudo] npm install -g bower polymer-cli
```
2. Install local dependencies:
```sh
$ bower install
```
3. To test the project, start the development server and open `http://localhost:8081`.
```sh
$ polymer serve
```
## Browser Support
 |
 |
 |
 |

--- | --- | --- | --- | --- |
Chrome or Chromium version 49 or later ✔ | Firefox 51 or later ✔ | Edge 15.15063 or later ✔ | Safari or Mobile Safari 10 or later ✔ | Opera 36 or later ✔ |
## Contributing
If you want to help, please read the [Contributing](https://github.com/OSBI/saiku-embed-element/blob/master/CONTRIBUTING.md) guide.
## History
For detailed changelog, see [Releases](https://github.com/OSBI/saiku-embed-element/releases).
## License
[Apache License Version 2](https://github.com/OSBI/saiku_community_website/blob/master/LICENSE) © [Meteorite BI](http://www.meteorite.bi/)