Custom Reports

  • Posts: 127
  • Thank you received: 8
7 years 8 months ago #264328

-- HikaShop version -- : 2.6.3
-- Joomla version -- : 3.6.5
-- PHP version -- : 7.0.1
-- Browser(s) name and version -- : Firefox 51

Can we change the labels on reports?
If so how, or is this a feature in an upgrade the client will need to look at?

In the image attached we have created a report which has two years being compared, we would like it to show 2017 vs 2016 i.e. This YYYY vs Last YYYY

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
7 years 8 months ago #264336

Hi,

I've configured a report like you: monosnap.com/file/bYzHHGfwsEpqNhqZxWw4Bbi8c2gDVH
And it displays fine on my end with HikaShop 2.6.4
Now regarding the labels, you can edit the file "chart" of the view "dashboard" via the menu Display>Views and change the line:

echo "dataTable.addColumn('number','".$name."');"."\n";
in order to set your own name.

Please Log in or Create an account to join the conversation.

Time to create page: 0.059 seconds
Powered by Kunena Forum