« Issue/SRF/400 » : différence entre les versions
De Semantic MediaWiki - Sandbox
(new) |
(form) |
||
Ligne 1 : | Ligne 1 : | ||
Refs: https://github.com/SemanticMediaWiki/SemanticResultFormats/issues/399 | Refs: https://github.com/SemanticMediaWiki/SemanticResultFormats/issues/399 | ||
; Error | |||
uncaught exception: Invalid dimensions for plot, width = 1681, height = 0 | uncaught exception: Invalid dimensions for plot, width = 1681, height = 0 | ||
; Syntax | |||
<pre> | |||
{{#ask: | |||
[[Has usage::>100]] | |||
[[Is minor release::false]] | |||
|?Has date#-F[Y-m-d]=Date | |||
|?Has usage | |||
|format=timeseries | |||
|charttype=line | |||
|charttitle={{PAGENAME}} (all versions with more than 100 instances) | |||
|limit=5000 | |||
|link=all | |||
|headers=hide | |||
|mainlabel=- | |||
|sort=Has date | |||
|order=asc | |||
|chartcolor=#045fb4 | |||
|group=subject | |||
|height=1000 | |||
|width=100% | |||
|min=0 | |||
|datalabels=value | |||
|zoompane=none | |||
}} | |||
</pre> | |||
; Result | |||
{{#ask: | {{#ask: | ||
[[Has usage::>100]] | [[Has usage::>100]] |
Dernière version du 4 août 2018 à 12:34
Refs: https://github.com/SemanticMediaWiki/SemanticResultFormats/issues/399
- Error
uncaught exception: Invalid dimensions for plot, width = 1681, height = 0
- Syntax
{{#ask: [[Has usage::>100]] [[Is minor release::false]] |?Has date#-F[Y-m-d]=Date |?Has usage |format=timeseries |charttype=line |charttitle={{PAGENAME}} (all versions with more than 100 instances) |limit=5000 |link=all |headers=hide |mainlabel=- |sort=Has date |order=asc |chartcolor=#045fb4 |group=subject |height=1000 |width=100% |min=0 |datalabels=value |zoompane=none }}
- Result