Jump to content

 

Photo

How can i identify what is the reason may be for RenderAxes failed ?


  • Please log in to reply
3 replies to this topic

#1 EvgenyV

EvgenyV

    Advanced Member

  • Members
  • PipPipPip
  • 41 posts

Posted 19 April 2012 - 07:22 AM

Hi guys , can you recommend me , what is the reason may be ?


{System.Exception: Attempted to divide by zero. ---> System.DivideByZeroException: Attempted to divide by zero.
at System.Decimal.FCallDivide(Decimal& d1, Decimal& d2)
at System.Decimal.op_Division(Decimal d1, Decimal d2)
at Visifire.Charts.AxisManager.RoundAxisMaximumValue(Decimal axisMaxValue, Decimal intervalValue)
at Visifire.Charts.AxisManager.Calculate()
at Visifire.Charts.Axis.SetUpAxisManager()
at Visifire.Charts.AxisRenderManager.PrepareAxesX4VerticalChart(ChartArea chartArea, Chart chart, Size availableSize)
at Visifire.Charts.AxisRenderManager.CreateAxisForVerticalChart(ChartArea chartArea, Size plotAreaSize)
at Visifire.Charts.ChartArea.RenderAxes(Size plotAreaSize)
--- End of inner exception stack trace ---
at Visifire.Charts.ChartArea.RenderAxes(Size plotAreaSize)
at Visifire.Charts.ChartArea.DrawChart(Size plotAreaSize)
at Visifire.Charts.ChartArea.Draw(Chart chart)
at Visifire.Charts.Chart.Render()}

Thanx,
Evgeniy.

#2 sharmila

sharmila

    Advanced Member

  • Administrators
  • PipPipPip
  • 697 posts
  • Gender:Female

Posted 20 April 2012 - 04:20 AM

Hi,

Can you please provide us the testcase so that we can reproduce the issue here?

Regards,
Sharmila

#3 EvgenyV

EvgenyV

    Advanced Member

  • Members
  • PipPipPip
  • 41 posts

Posted 23 April 2012 - 11:01 AM

Hi Sharmila ,

I found that it was failed if .AxesX[0].Interval=0

Thanx

#4 sharmila

sharmila

    Advanced Member

  • Administrators
  • PipPipPip
  • 697 posts
  • Gender:Female

Posted 24 April 2012 - 04:49 AM

Hi,

Note that the Interval specifies the gap after which the labels or grids or ticks will repeat in axis. The value for Interval property should always be greater than zero. Please Check out the documentation link below.

http://www.visifire....ce/Interval.htm

Regards,
Sharmila




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users