As previously announced via banners and our newsletters, support is no longer available through this platform.

For easier navigation, you can still click on "Submit a Ticket" here, choose the appropriate category, and you'll be redirected to the correct support channel for your plugin.

You can still access your previous tickets and browse public tickets, but please note that responding to tickets is no longer possible.

Paid customers: Please log in to your store account for support.

Pre-purchase questions: Use the support widget in the bottom-right corner of our websites:
https://wpamelia.com
https://wpdatatables.com
https://wpreportbuilder.com

Okay
  Public Ticket #2694222
axis text highchairs
Closed

Comments

  •  1
    Ashley started the conversation

    I'm trying to rotate the text on the horizontal axis.  On one chart it seems to do it automatically (or I've missed a setting) and on another they text just overlaps.

    I've used JS below but to no affect.

    jQuery(window).on('load', function(){
        if( typeof wpDataChartsCallbacks == 'undefined' ){ wpDataChartsCallbacks = {}; }
        wpDataChartsCallbacks[3] = function(obj){
            obj.options.hAxis = {
              slantedText:true,
              slantedTextAngle:45 // here you can use angels what you need 30, 45, 90, -45, -90
            }
            
        }
    });

    Is there a setting or an error?

    Thanks

    Also, you'll see on the spider graph that not all the labels show (the bottom one).  Is there a way to wrap these labels?

    Thanks


    PS - heading is meant to say "Axis text Highcharts"

  •  472
    Isidora replied

    Hello Ashley

    Thank you for your purchase
    Sorry for the delay in our responses, has been national holidays in our country for the last few days.

    There's a bug in v3.4.1

    Please replace files on these locations with the files attached to my response:

    wp-content/plugins/wpdatatables/assets/js/wpdatatables/wdt.chartsRender.js

    wp-content/plugins/wpdatatables/assets/js/wpdatatables/wdt.chartsRender.min.js

    Then, delete cache from your website and browser, and it should be working normally again.

    Can you please tell me which type of chart you are using? For Highcharts, there are different settings you can check here https://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/highcharts/xaxis/labels-rotation/

    About the labels on polar charts, you can try with this option https://api.highcharts.com/highcharts/yAxis.showLastLabel

    Kind Regards, 

    Isidora Markovic

    wpDataTables: FAQFacebookTwitterFront-end and back-end demoDocs

    Amelia: FAQFacebookTwitter |  Amelia demo sites | Docs

    You can try our wpDataTables add-ons before purchase on these sandbox sites:

    Powerful FiltersGravity Forms Integration for wpDataTablesFormidable Forms Integration for wpDataTables