Raised This Month: $53 Target: $400
 13% 

[Solved] HLstatsX player trend graph off-center


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
bryson.dev
AlliedModders Donor
Join Date: Aug 2016
Location: Canada
Old 01-09-2021 , 03:00   [Solved] HLstatsX player trend graph off-center
Reply With Quote #1

Hello, I have a fully working install up and running however, the player tend graph seems off-center and a part of the text gets cut off. Any help regarding the placement of the image would be very much appreciated.

Example:

__________________

Last edited by bryson.dev; 01-09-2021 at 09:26. Reason: Solution discovered
bryson.dev is offline
bryson.dev
AlliedModders Donor
Join Date: Aug 2016
Location: Canada
Old 01-09-2021 , 09:24   Re: HLstatsX player trend graph off-center
Reply With Quote #2

Okay so I figured it out after spending an entire night into the noon hour bashing my head against a wall. Basically, everything you need to edit is in the trend_graph.php in the root of the web folder. That was the culprit.

And to deal with the issue with the text was as easy as adding
HTML Code:
style="background-color: white"
to the existing code in the playerinfo_general.php because apparently the text create when the graph is generated has transparency for some reason...?

Also I have taken the liberty of creating a new repo exclusively for the web side of hlstatsx if anyone is interested in it.
https://github.com/brysondev/hlstatsx-revamped
__________________
bryson.dev is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:13.


Powered by vBulletin®
Copyright ©2000 - 2021, vBulletin Solutions, Inc.
Theme made by Freecode