![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
tableau-react-ratnesh
Advanced tools
React component for rendering tableau reports using tableau javascript API.
Tableau React component integrated with Tableau JS API.
npm install tableau-react
Note: This version is not heavily tested and may be unstable.
npm install tableau-react@beta
import TableauReport from 'tableau-react';
const SimpleReport = props => (
<TableauReport
url="http://reports.my-site.com/my-workbook/my-report"
token="<TRUSTED TICKET HERE>"
/>
)
const options = {
height: 100,
width: 100,
hideTabs: false,
// All other vizCreate options are supported here, too
// They are listed here: https://help.tableau.com/current/api/js_api/en-us/JavaScriptAPI/js_api_ref.htm#vizcreateoptions_record
};
const filters = {
Colors: ['Blue', 'Red'],
Sizes: ['Small', 'Medium']
};
const parameters = {
Param1: 'Value',
Param2: 'Other Value'
};
const MyReport = props => (
<TableauReport
url="http://reports.my-site.com/my-workbook/my-report"
filters={filters}
parameters={parameters}
options={options} // vizCreate options
// Overwrite default query params
// defaults to '?:embed=yes&:comments=no&:toolbar=yes&:refresh=yes'
query="?:embed=yes&:comments=no&:toolbar=yes&:refresh=yes"
/>
)
Any parameters or filters that are initially passed will be sent in the vizCreate options, which speeds up initial loading time by not having to apply each one asynchronously after the viz loads.
Once the viz has been loaded, if the parameters/filters change but the url does not, only the changed parameters/filters will be applied asynchronously in order to optimize performance.
Upon initialization, a new Viz will be created. A new Viz will only be
initialized if props.url
changes for performance reasons.
You can authenticate using a trusted ticket, which will be immediately invalidated upon being used, because using it a second time will log the user out.
If props.token
gets updated, it will use it the next time a viz is initialized.
npm install
npm test
npm install
.Note: If you don't have write access to the repo, you need to clone it and make changes there and raise a PR to the parent repo.
FAQs
React component for rendering tableau reports using tableau javascript API.
We found that tableau-react-ratnesh demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.