I am using the Kibana 4.5. In visualisation tab, I have created my chart and using it as an iframe. I want to change the background color of the chart as per my page(not Kibana) where this iframe fits. Any suggestions.
There is no way to do this cleanly in Kibana today, via a proper interface. However, you could achieve this by taking the following steps on the server running Kibana:
-
Stop Kibana.
-
Change to the directory where you have installed Kibana.
-
Under that directory, edit this file:
src/plugins/kibana/public/visualize/editor/styles/_editor.less
-
Find the
&.embedded
declaration block. Add your desiredbackground-color
declaration to this block. -
Back on the command line, run
rm -rf optimize/bundles/
. This will cause Kibana to regenerate the compiled CSS (and other) bundles upon restart. -
Restart Kibana.
Of course, note that in a future version of Kibana the _editor.less
file you edited will not contain your modification and the structure might change too. So you'll need to re-implement your modification.
Thanks @shaunak, But I couldnot find any difference.