Skip to main content

Custom Reports

9 years 8 months ago #264328 by twhcreations
Custom Reports was created by twhcreations
-- 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

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

9 years 8 months ago #264336 by nicolas
Replied by nicolas on topic Custom Reports
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:
Code:
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.053 seconds
Powered by Kunena Forum