View Issue Details

IDProjectCategoryView StatusLast Update
0025952mantisbtcode cleanuppublic2019-08-25 12:36
Reporterdregad Assigned Todregad  
PrioritynormalSeveritytweakReproducibilityN/A
Status closedResolutionfixed 
Target Version2.22.0Fixed in Version2.22.0 
Summary0025952: MantisGraph: define Chart.js-related constants in the plugin
Description

The library is only used by the MantisGraph plugin, so it makes more sense to define the related constants within the plugin's class, instead of doing it in constants_inc.php.

This facilitates maintenance when the library needs to be upgraded (all significant changes happen in the Plugin's class).

TagsNo tags attached.

Relationships

related to 0025951 closeddregad MantisGraph: update Chart.js library to v2.8.0 

Activities

Related Changesets

MantisBT: master 5d9a4f31

2019-08-01 02:55

dregad


Details Diff
Define Chart.js constants in MantisGraph plugin

The library is only used by the MantisGraph plugin, so it makes more
sense to define the related constants within the plugin's class, instead
of doing it in constants_inc.php.

Fixes 0025952
Affected Issues
0025952
mod - core/constant_inc.php Diff File
mod - plugins/MantisGraph/MantisGraph.php Diff File