Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
415
StackColumnchart without user interaction
posted

Hello,

We use Chart to display info on a screen in the entry of our company. the computer is automatically started eachmorning without user interaction.

Via a timer we display some forms with different graphs.

The first graph, linechart is always good.

But the 2 next graphs are of type "StackColumnchart". These graph are not good. We checked the data submited to the graph, it's ok (via a simple databinding or adding series manually).But we only have 2 columns (without datas) on graph (columns by default) and we have a strange thing on the legend.

If we don't touche the computer all the days, these 2 graphs are always bad.

We if we use the mouse ont the computer and make some click on the graph, the next time we display the graph, it's good. and all the other graph are always good.

Do you have idea ? or workaround ?

Thx

Parents
  • 48586
    posted

    Hello ,

     

    Mouse  interaction causes redrawing of the graph, which makes me think that you have made some custom adjustment in FillSceneGrph event or some other event that requires customer interaction. I assume that you may need to “refresh” chart drawing after binding the chart ((this.uc_chart as IChartComponent).Invalidate(CacheLevel.LayerLevelCache)), but without sample I only could make guesses.  Is it  possible to upload simple sample that demonstrates  this issue in order to review your code and to investigate this further.

     

    I am waiting for your feedback.

Reply Children