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 #877562
Align chart titles
Closed

Comments

  •  2
    Alan started the conversation

    First of all, kudos on a great plugin!

    I'm displaying multiple charts on a page and am trying to align all my titles to the left using this code inside wpdatatables_highcharts.js

    this.options.title = { align: 'left', x: 70};

    Which aligns it fine except it also resets all my existing titles to "Chart Title" - as per attached pic.  I want to keep the existing titles and simply align them to the left.  Any hints as how I can achieve this?

    Cheers. 



  • [deleted] replied

    Hi Alan,
    Thank you for your purchase.

    Like that you will overwrite all title properties. You can try like this:

    this.options.title.align = 'left';
    this.options.title.x = 70;

    In wpDataTables 1.7 there will be much more options for chart customization. You can take a look at new features at this link. If you are interested I can send you version 1.7 Beta so you can try new features.

  •  2
    Alan replied

    Bravo Milos, 

    That worked perfectly and now I know why some of my other attempts at customisation failed.  Thank you for clearing up a few code mysteries for me.

    Kind regards

    Alan K.

  •   Alan replied privately
  •   [deleted] replied privately