GanttChart icon indicating copy to clipboard operation
GanttChart copied to clipboard

what is missing?

Open ibyssorucevap opened this issue 5 years ago • 1 comments

image

ibyssorucevap avatar Dec 25 '19 20:12 ibyssorucevap

i have forced the plugin to use the correctly installed jpgraph library by commenting code in pages/config_edit.php:

#if ( plugin_config_get( 'eczlibrary' ) != config_get( 'plugin_MantisGraph_eczlibrary' ) ) {
#  plugin_config_set( 'eczlibrary',  config_get('plugin_MantisGraph_eczlibrary') );
#}

#if ( plugin_config_get( 'jpgraph_path' ) != config_get( 'plugin_MantisGraph_jpgraph_path' ) ) {
#  plugin_config_set( 'jpgraph_path',  config_get('plugin_MantisGraph_jpgraph_path') );
#}

and in core/gantt_api.php

#if ( plugin_config_get( 'eczlibrary' ) != config_get( 'plugin_MantisGraph_eczlibrary' ) ) {
#  plugin_config_set( 'eczlibrary',  config_get('plugin_MantisGraph_eczlibrary') );
#}
#if ( plugin_config_get( 'jpgraph_path' ) != config_get( 'plugin_MantisGraph_jpgraph_path' ) ) {
#  plugin_config_set( 'jpgraph_path',  config_get('plugin_MantisGraph_jpgraph_path') );
#}

and having set the plugin_GanttChart_eczlibrary value to 0 in the configuration report page. don't know whats wrong with the plugin, but now i see gantt charts ;)

agolks avatar Jun 05 '20 16:06 agolks