Hi there,
Unfortunately, there is no built-in option, but you can try with our wpdatachart callbacks.
On your page you will insert wpdatachart shortcode and then add wpdatachart callback as you can see below
For example
[wpdatachart id=1]
<script type="text/javascript">
jQuery(window).on('load',function(){
if( typeof wpDataChartsCallbacks == 'undefined' ){ wpDataChartsCallbacks = {}; }
// here you will insert yout chart id, we insert 1 as example
wpDataChartsCallbacks[1] = function(obj){
obj.options.hAxis = {
slantedText:true,
slantedTextAngle:45 // here you can use angels what you need 30, 45, 90, -45, -90
}
}
});
</script>
Best regards
-
This reply was modified 3 years, 2 months ago by wpDataTables.
Thank you! This works for developer only. I wouldn’t let my clients who don’t know how to code enter this block of code.
Another issue coming up is that now my original data is altered by this plugin. This is an example https://ibb.co/LJCjL95
How would I solve this issue? It seems settings are not working for me in this case.
Thanks,
Hi there,
Unfortunately, that is the only way at the moment.
About the number formatting, that is the normal behavior of the plugin because wpdatatables try to recognize column types based on their values. It contains numbers and that format 1.2.2 is not supported in wpdatatables so it is formatted as an integer. To show exactly what is in your source file go in Column settings then on the Data tab and change the option Column type to string and it will be shown as in your source file.
Best regards.