4 Replies Latest reply: Feb 18, 2013 5:05 AM by user2779342 RSS

    Auto refresh of HorizontalBarGraph dvt component on ClickEvent

    913642
      Hi All,

      I am using JDev 11.1.1.6
      I have a dvt horizontalBarGraph component in my page.I am using click listener event to get the data which is clicked in the graph.
      This click event makes the bar graph to refresh itself.
      Please provide suggestions to prevent the graph from refreshing itself.
      Below is the code for the graph

      <dvt:horizontalBarGraph id="TS" subType="BAR_HORIZ_STACK"
      customLayout="CL_NONE" shortDesc="test"
      tabularData="#{MyBean.stackedBar}"
      partialTriggers="::soc1 ::soc2"
      binding="#{MyBean.barGraph}"
      dynamicResize="DYNAMIC_SIZE" rendered="true"
      clickListener="#{MyBean.clickCountTaskListener}"
      animationOnDataChange="none">
      <dvt:background>
      <dvt:specialEffects/>
      </dvt:background>
      <dvt:graphPlotArea/>
      <dvt:seriesSet>
      <dvt:series color="#{MyBean.color}">
      <dvt:specialEffects id="specialEffects1"/>
      </dvt:series>
      <dvt:series/>
      <dvt:series/>
      </dvt:seriesSet>
      <dvt:o1Axis/>
      <dvt:y1Axis/>
      <dvt:legendArea automaticPlacement="AP_NEVER" position="LAP_BOTTOM"/>
      <dvt:legendTitle text="Legend Title"/>
      </dvt:horizontalBarGraph>