[Plugin: Runners Log] [bug, minor] stats page throws error with zero data
-
one more small issue:
when viewing the stats page (runnerslog_stats_graphs.php), if you have no data for a category, you get a bunch of errors and a bad page render.
a few potential fixes for this:
1) check to see if you have a valid data set for a particular graph, and if not, show a dummy chart on the stats page (so someone can see what the graph would look like)or
2) just suppress the chart entirely for those charts without data
or
3) suppress charts for datasets that are not enabled (ie, i don’t use the calorie tracking and have that option disabled but it still tries to render the graph throwing errors).
Thanks
Michael
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘[Plugin: Runners Log] [bug, minor] stats page throws error with zero data’ is closed to new replies.