FontSize Pivot

Answered
Please how can I change the font size of the entire pivot table, rows, and columns ?

1 answer

WebDataRocks Team WebDataRocks June 19, 2019

Hi Marcelo!
If you want to change the font or any other style of the component please download CSS file from here: https://cdn.webdatarocks.com/latest/webdatarocks.css and modify it as you need.
Now you can use the modified file in your application instead of the CSS file from the CDN like in the following sample.

<div id="wdr-component"></div>
<link href="PATH_TO_MY_webdatarocks.css" rel="stylesheet"/>
<script src="https://cdn.webdatarocks.com/latest/webdatarocks.toolbar.min.js"></script>
<script src="https://cdn.webdatarocks.com/latest/webdatarocks.js"></script>
<script>
var pivot = new WebDataRocks({
	container: "#wdr-component",
	toolbar: true,
	report: {
		dataSource: {
			filename: "https://cdn.webdatarocks.com/data/data.csv"
		}
	}
});
</script>

Please login or Register to Submit Answer