Okay
  Public Ticket #1605945
HighChart Callback Format
Closed

Comments

  • Pascal started the conversation

    Sorry but it's very urgent, like i say in my precedent ticket, i'm looking for hide 'k' in y axis, i want 1000, 2000, etc... I think it's numericSymbols but it didn't work:
    (bottom of the page)
    http://www.pdemwork2.com/

    and my code is:

    <script type="text/javascript">
    jQuery(window).load(function(){
        if( typeof wpDataChartsCallbacks == 'undefined' ){ wpDataChartsCallbacks = {}; }
        wpDataChartsCallbacks[8] = function(obj){
            obj.options.chart.backgroundColor = '#ffffff';
            obj.options.lang = {
                numericSymbols: 'null'
                }
            obj.options.labels = {
                formatter: function () {
                return this.value;
            }
        }
       }
    });
    </script>

    please help me it's very urgent.

    Thanks

    Pascal

  •  471
    Isidora replied

    Hi Pascal,
    Thank you for your purchase.

    wpDataChart callback are made for developers which need some custom solution of charts that is not in built in features of plugin. This is not included in standard support but I will gave you a directions.

     ‘wpDataCharts’ is global JavaScript object and If you check this variable in the JS developer console you will see the wpDataCharts as properties of this object where you can see object structure of every part of the chart.

    lang property is out of the scope of the chart object so you need to set them in different way. If you access to global object in console you will see that object tree, and labels is more deeper in structure. If you want to change labels on yAxis you can set format of the labels for yAxis. You can find example on this link.

    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