-
Notifications
You must be signed in to change notification settings - Fork 144
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
powerbi-client + custom visual. Setting border value #507
Comments
Hello @swiecaJS, I'm not sure why do you use setProperty in this case. Are there any reasons to do so? Usually you can simply change the value of the setting directly in getFormattingModel. Please, take a look on this documentation |
@AleksSavelev my reports are embedded on a webpage with the use of
|
To have a clear reproduction step
|
Oh, I see. |
I'll close the issue as it's not related to the tools itself, but feel free to contact the support email with any questions. |
I want to set the border on my custom-built visual programmatically.
It works perfectly when changed via powerbi web app (or desktop)
However, as soon as I try to use
powerbi-client
library I get an error. The same code works without an issue on the build-in visuals.My code:
Error message:
The same behavior happens with the blank new visual created through
pbiviz new
, making the error easy to replicate.powerbi-client repo does not accept the issues, so I am leaving an issue here, because I believe the problem lies somewhere at the intersection
The text was updated successfully, but these errors were encountered: