WCFM PIE Chart

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

From now the forum will be read-only!

This topic contains 3 replies, has 2 voices, and was last updated by Avatar ISOFake 3 months ago.

  • Author
    Posts
  • #100238
    Avatar
    razagillani245
    Participant

    Hi,

    I am using WCFM Frontend Mananger plugin, It displays the Grpah and PIE Chart in dashboard page. Currently the chart is showing 7days report by default. Is it possible to show the pie chart data from start to end by default not only for 7days or month or so. Please let me know. attached is a screenshot of what I am looking for.

    Thanks…

    Attachments:
    You must be logged in to view attached files.
  • #100241
    Avatar
    razagillani245
    Participant

    Please let me know on top priority basis as my site is live.
    Thanks…

  • #100549
    Avatar
    razagillani245
    Participant

    Any Update on this?

  • #127338
    Avatar
    ISOFake
    Participant

    Hi,

    Yep. It is possible.

    To change the day, please find this file:
    \wp-content\plugins\wc-frontend-manager\core\class-wcfm-non-ajax.php

    And locate this code:
    $query[‘where’] .= “AND posts.post_date >= ‘” . date( ‘Y-m-d’, strtotime( ‘-7 DAY’, current_time( ‘timestamp’ ) ) ) . “‘ “;

    Just change .date to your start date and it should be good to go.

    Thanks

You must be logged in to reply to this topic.