I'd like to add an area graph to an existing timechart I have using advanced xml. The search is exactly the same as the timechart, but when I reload the page the area graph isn't able to display.
I'm adding this piece of xml in -
<module name="PostProcess">
<param name="search"><![CDATA[
<!-- Search goes here
-->
]]></param>
<module name="HiddenChartFormatter">
<param name="charting.chart">area</param>
<param name="charting.chart.stackMode">default</param>
<param name="charting.chart.nullValueMode">zero</param>
<param name="charting.chart.data.preview">true</param>
<param name="charting.chartTitle">PO Count</param>
<param name="charting.legend.placement">bottom</param>
<param name="charting.axisTitleX.text">test</param>
<param name="charting.axisTitleY.text">test</param>
<module name="FlashChart" layoutPanel="panel_row2_col1"/>
</module>
</module>
I'm adding this in between the "SimpleResultsTable" module, and the "Redirector"> module (I'm using Sideview Utils for drilldown).
Does this make sence, or am I adding the HiddenChartFormatter in the wrong place?
Your input would be a huge help. Please let me know if you need more info.
Thank You!
It sounds like the chart is being added in the wrong place.
If you have the HiddenChartFormatter and the FlashChart nested downstream from the SimpleResultsTable, that means it will not appear or do anything until a row in the table is clicked.
If on the other hand your intention is to have the chart display alongside the table, then the HiddenChartFormatter should be a sibling of the SimpleResultsTable, rather than downstream from it.
If the advanced xml is driving you crazy, the Sideview Editor may make things a bit easier.
Also sometimes there's a lot of legacy modules and cruft in views. Feel free to email a view to me at nick [at] sideviewapps.com and I can spend a couple minutes turning around feedback and quite often a third of the view and a lot of the nesting disappears.
It sounds like the chart is being added in the wrong place.
If you have the HiddenChartFormatter and the FlashChart nested downstream from the SimpleResultsTable, that means it will not appear or do anything until a row in the table is clicked.
If on the other hand your intention is to have the chart display alongside the table, then the HiddenChartFormatter should be a sibling of the SimpleResultsTable, rather than downstream from it.
If the advanced xml is driving you crazy, the Sideview Editor may make things a bit easier.
Also sometimes there's a lot of legacy modules and cruft in views. Feel free to email a view to me at nick [at] sideviewapps.com and I can spend a couple minutes turning around feedback and quite often a third of the view and a lot of the nesting disappears.