Last modified: 2014-06-17 21:09:35 UTC
In SRF 1.7.1 when defining ask with parameter "format=graph", the graph legend is only shown when both parameters graphcolor and graphlabel are set to "Yes". This is due to a logical "&&" in function getGVForDataValue of extensions/SemanticResultFormats/GraphViz/SRF_Graph.php: if ( $this->m_graphLabel && $this->m_graphColor ) { In older version (1.5.2) there were a logical "||" if ( ( $this->m_graphLabel == true ) || ( $this->m_graphColor == true ) ) { Trying to use "||" instead of "&&" the graph legend is shown, so this may be a possible solution.
https://github.com/SemanticMediaWiki/SemanticResultFormats/issues/26
I'm still seeing this bug in SRF version 1.9.1.