Closed thomas-topway-it closed 1 year ago
hello @gesinn-it-gea can you also confirm from your side that the statement "labels are never clickable in the jqplot format" is true for all the following chart types "bar", "line", "pie", "donut" ?
Also, what about SRFjqPlotSeries
? (this is not affected by the commit since they extend different classes)
In fact, I had only glanced at the pull request. Are the formats mentioned above also affected by your PR?
only those handled in the class SRFjqPlotChart
I can not say something about the other chart types. You would have to test this.
I have tested, so the error shows only for bar and line, however none of them are clickable. I will check SRFjqPlotSeries
later, however this is not affected by the pull request
I confirm that SRFjqPlotSeries
does not need any update since the linker is already not passed as parameter, see
} elseif ( $object->getDataItem()->getDIType() == SMWDataItem::TYPE_TIME ) {
$label = $object->getShortWikiText();
} else {
$label = $object->getWikiValue();
}
SRFjqPlotSeries
-> getResultData
this also confirms that it is correct to override the $linker to null in the current pull request for SRFjqPlot
Setup
Issue
A query like the following
displays linked labels, as follows
This is caused by
$value = $dataValue->getShortText( $outputMode, $this->getLinker( false ) );
SMW's
AggregatablePrinter
->getDistributionResults
getLinker
should be forced to return null, since the labels are never clickable in the jqplot format