Topic on Project:Support desk

Chart not showing the up-to date data in Pchart4mw

2
Ragusathis (talkcontribs)

Mediawiki version 1.24

pchart4mw latest version

Creating a line chart with data from SQL Server Using ExternalData and ODBCDatabase. charts are working fine but while refreshing the page chart is not showing the up-to date data showing old data only.

while clicking the show preview button we can able to see the up-to date chart.

{{#get_db_data: db=mydb |from=User_Connections t |data=CaptureDate=t.CaptureDate,UserConnections=t.value}}

{{#pLines:ymin=0|ymax=500|axiscolor=888888|colorscheme=purpleblue|cubic|filled|angle=90|legend|plots|data= ,UserConnections {{#for_external_table: {{{CaptureDate}}},{{{UserConnections}}}

}} }}

and disable the below line in pChart4mw.php $wgPChart4mwCacheEnabled= true;

kindly do the needful


-- Ragu

Reply to "Chart not showing the up-to date data in Pchart4mw"