deneb-viz / deneb

Deneb is a custom visual for Microsoft Power BI, which allows developers to use the declarative JSON syntax of the Vega or Vega-Lite languages to create their own data visualizations.
https://deneb-viz.github.io
MIT License
193 stars 15 forks source link

Feature request: binding format options #275

Open Giammaria opened 1 year ago

Giammaria commented 1 year ago

Hey Daniel. Not sure if this has been raised before, but it would be nice in the future to have a formatting property section dedicated to the look and feel of input bindings. For example, being able to change an input selection slider color, value font size, etc. I checked the Vega docs and I don't see any config options for this (may have missed them). My understanding is the responsibility of formatting these elements was intended to fall to the application containing the vega/vega-lite viz. I can see that Deneb is already providing some formatting to these elements. It'd be nice to make them customizable.

dm-p commented 1 year ago

Hi Madison - this has not been raised before, so I appreciate you making a request for it.

Deneb doesn't explicitly style the form elements in the Vega view; it's highly likely that it's inheriting higher-level styling declarations for form elements and typography from the main Power BI window.

While I appreciate that people use them, I have had not had enough interest in param bindings for my own projects to invest any time in understanding them to the same degree that I might have done for other areas of the Vega view.

Adding Power BI properties also has a significant administrative overhead, so if you're looking for me to do this work specifically, it would be very helpful if you or someone can provide the explicit properties that you'd want to see in the formatting pane. I can then assess these and estimate how much effort it would be to deliver them from my end. If there are no specifics, I can just look at what slider colour and font size could entail.

Otherwise, it could be a good piece of work for anyone who wants to contribute once I open-source the v2 code.

Giammaria commented 1 year ago

Thanks Daniel. If I had to guess, I cannot imagine that it would be a very sought out enhancement, and is not urgent. I placed it in response to a question on one of the Power BI Community forums. I would be happy to give this a shot and contribute once you open up v2.