Code Monkey home page Code Monkey logo

ngx-tableau's People

Contributors

a1jan avatar hmartos avatar jariahh avatar oljuanfe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

ngx-tableau's Issues

tableauVizUrl with ticket for embedding a private dashboard

Hi @hmartos,

Thanks for the help with the previous issue. I have got one more issue that has come up recently. I am trying to embed a private dashboard in Angular. As mentioned in the docs, I have added an IP to the server and can get a ticket. I am doing the following based on the examples you have provided.

<ngx-tableau
         tableauVizUrl="http://**someserver**/views/TL_QA_real_new/TL?:showAppBanner=false&:display_count=n&:showVizHome=n&:origin=viz_share_link">
         ticket="someticket"
</ngx-tableau> 

This doesn't work. Either, it shows me the empty screen or says the ticket is not valid. I understand the ticket lasts only one time. Is this the correct approach?

I have tried a different approach as well. If in the browser, I do the following :

http://**someserver**/trusted/put_ticket_here/views/TL_QA_real_new/TL?:showAppBanner=false&:display_count=n&:showVizHome=n&:origin=viz_share_link">

I can see the dashboard but if I do that within angular, I see the login screen.

<ngx-tableau
    tableauVizUrl='http://**someserver**/trusted/put_ticket_here/views/TL_QA_real_new/TL?:showAppBanner=false&:display_count=n&:showVizHome=n&:origin=viz_share_link>'
</ngx-tableau>

Is there anything wrong here? Any suggesations from your side.

One or both of the following parameters are missing: serverUrl or report

I have mentioned both the parameters yet I get this error

component.html

  <ngx-tableau
    [tableauVizUrl]="url"
    [serverUrl]="serverUrl"
    [report]="report"
  ></ngx-tableau>

component.ts


  url: "https://public.tableau.com/views/Sehat-IntelVisualization/MainParametersDistribution;
  serverUrl="https://public.tableau.com";
  report="Sehat-IntelVisualization/MainParametersDistribution";

image

NG0203 error with the inject() function.

Hello and thank you for releasing this great tool!

I tried to use it in my Angular project, but it's giving me NG0203 error, which I believe is related to the inject() function?
I'm using Angular 16, is it compatible with your module? And has anyone reported similar errors before?

Thanks very much!

Tab Hide don't work

Is there any issue with the tab hide or the current documentation don't work as expected

Building on Node 18 needs some tweaks

I noticed that when you try to run the package as-is, on a recent version of node, there a few NODE_OPTIONS flags need to be set.
By changing these lines in package.json, i was able to build it:

"test-ci": "NODE_OPTIONS=--openssl-legacy-provider ng test ngx-tableau --code-coverage --no-watch --browsers HeadlessChrome",
and
"build-tableau": "NODE_OPTIONS=--no-experimental-fetch ng build --prod ngx-tableau",

By setting these options, you revert some deprecations between node v16 and v18, although updating a bunch of dependencies is probably the best way forward.

Filter parameters doesn't work with viz

Hi guys,

Thanks for the very helpful package. It has definitely made my life easier. I am trying to embed a Tableau dashboard with filter parameters but it doesn't seem to work.
I have tried with the given example as well:

<ngx-tableau
  tableauVizUrl="https://public.tableau.com/views/SuperSampleSuperstore/SuperDescriptive"
  filters="{ Parameter3: 'Central' }"
></ngx-tableau>

https://stackblitz.com/edit/ngx-tableau-dvczzy?file=src/app/app.component.html

I get the following error in the console:

dashboard/dashboard.component.html:23:17 - error TS2322: Type 'string' is not assignable to type 'object'.

What am I doing wrong? Any help will be really appreciated.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.