Forum Discussion
Anonymous
9 years agoNot applicable
Gradient color Picker & slider in capabilities.json
Hello,
I'm actually working under API 1.7.0 for developing a custom visual. I'm looking for 2 objects in capabilities.json:
- Gradient Color Picker: from which we can pick a center color and the 2 boundries.
- Slider: Like for text Font size, but I want its maximym to be 100%.
Those objects already exist I saw them in some visuals. but I couldn't find them. Thank you for help
- Power BI Custom Visuals API doesn't support gradient. This feature will probably be included into API 1.8
- You might try to call your property as percentile. It works for the old API, but I'm not sure about the new API
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
2 Replies
- v-chuncz-msftCommunity Support
Anonymous,
You may do research into valueType "fill" and "integer". It is the visual's responsibility to handle EnumerateVisualObjectInstancesOptions.
- v-viigCommunity Champion
- Power BI Custom Visuals API doesn't support gradient. This feature will probably be included into API 1.8
- You might try to call your property as percentile. It works for the old API, but I'm not sure about the new API
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals