Kibana canvasrender options

Hello,

Is there documentation about canvasrender options?
I am trying to change the filling color of a gauge in canvas.

We actually have this for conditional color format: Conditional colouring using kibana canvas expression editor - #16 by tims

hope it helps

Hi,

I am trying to use that example.
First I tried to do something simple but it fails....

Example which I used:

.canvasRenderEl{
backgroundColor=red
}

Do you know what's wrong ?

@tims - can you help when u have time ?

Thanks
Rashmi

For the background, you could use the property for the container, in the canvasRenderEL you define the css styles for the objects, it's required to specify which one; example:

render 
  containerStyle={containerStyle backgroundColor="#F0F0F0" border="1px solid #444444" padding="10px"} css=".canvasRenderEl .valueLabel {
  margin-top: -15px;
}"

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.