We're Moving to a New Support Platform – Starting June 1st!

We’re excited to let you know that starting June 1st, we’ll be transitioning to a new support system that will be available directly on our product websites – Amelia, wpDataTables, and Report Builder. In fact, the new support platform is already live for Amelia and wpDataTables, and we encourage you to reach out to us there.

You'll always be able to reach us through a widget in the bottom right corner of each website, where you can ask questions, report issues, or simply get assistance.

While we still do not offer live support, a new advanced, AI-powered assistant, trained on our documentation, use cases, and real conversations with our team, is there to help with basic to intermediate questions in no time.

We're doing our best to make this transition smooth and hassle-free. After June 1st, this current support website will redirect you to the new "Contact Us" pages on our product sites.

Thanks for your continued support and trust – we’re excited to bring you an even better support experience!

Okay
  Public Ticket #1414947
Specify Series Visibility
Closed

Comments

  •  1
    Quint started the conversation

    I am using your wpDataCharts Callbacks example for the HighCharts API.  I am attempting to specify the visibility of each series but have been unsuccessful.  It appears that my code modification does not use the data specified in the table.  Can you tell me how to modify what I have done?  Thank you.

    Here's my code:

    jQuery(window).load(function(){
        if( typeof wpDataChartsCallbacks == 'undefined' ){ wpDataChartsCallbacks = {}; }
        wpDataChartsCallbacks[2] = function(obj){
            obj.options.chart.backgroundColor = '#F7F7F7';
            obj.options.chart.zoomType = 'x';
            obj.options.chart.panning = true;
            obj.options.chart.panKey = 'shift';
            obj.options.series = 
                                 [{
                                  visible: true,
                                  }, {
                                    visible: false,
                                  }, {
                                    visible: false,
                                  }, {
                                    visible: false,
                                  }, {
                                    visible: false,
                                  }, {
                                    visible: false,
                                  }];
            obj.options.tooltip = {
                formatter: function () {
                var s = '<b>' + this.y + '%</b>';
                return s;
                }
            };
        }
    });

  •  1
    Quint replied

    I figured it out (If there's a better way, please let me know):


    jQuery(window).load(function(){
        if( typeof wpDataChartsCallbacks == 'undefined' ){ wpDataChartsCallbacks = {}; }
        wpDataChartsCallbacks[2] = function(obj){
            obj.options.chart.backgroundColor = '#F7F7F7';
            obj.options.chart.zoomType = 'x';
            obj.options.chart.panning = true;
            obj.options.chart.panKey = 'shift';
            obj.options.series[0].visible = true;
            obj.options.series[1].visible = false;
            obj.options.series[2].visible = false;
            obj.options.series[3].visible = false;
            obj.options.series[4].visible = false;
            obj.options.series[5].visible = false;
            obj.options.tooltip = {
                formatter: function () {
                var s = '<b>' + this.y + '%</b>';
                return s;
                }
            };
        }
    });

  •  1,895
    Miloš replied

    Hi Quint,
    Thank you for your purchase.

    Looking at your code it looks like there are no changes needed or any modification so good job on writing it.

    Hope that everythig is working fine.

    Best regards.

    Kind Regards, 

    Miloš Jovanović
    [email protected]

    Rate my support

    Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

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

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables