Jump to content
Software FX Community

Resizing Chart throws divide by zero exception + Radar Charts


User (Legacy)

Recommended Posts

If u resize the radar chart (maybe others too?) to the point where the size

goes to zero, they throw this exception.

Also it seems radar charts have little if no support/functions at this

stage, things like scaling each "arm" on the radar would be good, for

example if one arms values are in the 10000's range and the other 3 arms are

in the 10's range u wont see them as anything more than a fraction out from

the origin as the chart is scaled to the largest arms size.

Link to comment
Share on other sites

We will research the divide by zero exception in radar charts.

Radar charts also do not support a secondary axis, we will try to improve

this in the next service pack. Note that the number of "arms" (If I am

guessing correctly what do you mean by that) matches the number of points in

a chart, we will support a secondary axis (like the support in a bar chart)

where you can assign a whole series to a different axis, it is unclear at

this time whether (or where) we will paint the other axes.

--

Regards,

JC

Software FX Support

"Peter Collins" <newkleer@bigpond.net.au> wrote in message

news:EhIDGUPnCHA.3152@webserver1.softwarefx.com...

> If u resize the radar chart (maybe others too?) to the point where the

size

> goes to zero, they throw this exception.

>

> Also it seems radar charts have little if no support/functions at this

> stage, things like scaling each "arm" on the radar would be good, for

> example if one arms values are in the 10000's range and the other 3 arms

are

> in the 10's range u wont see them as anything more than a fraction out

from

> the origin as the chart is scaled to the largest arms size.

>

>

Link to comment
Share on other sites

thanks

one other feature that id request is the ability to have fillarea method

able to be used on individual series, so u can have both lines an areas

"Software FX Support" <support@softwarefx.com> wrote in message

news:14vf3TTnCHA.3152@webserver1.softwarefx.com...

> We will research the divide by zero exception in radar charts.

>

> Radar charts also do not support a secondary axis, we will try to improve

> this in the next service pack. Note that the number of "arms" (If I am

> guessing correctly what do you mean by that) matches the number of points

in

> a chart, we will support a secondary axis (like the support in a bar

chart)

> where you can assign a whole series to a different axis, it is unclear at

> this time whether (or where) we will paint the other axes.

>

> --

> Regards,

>

> JC

> Software FX Support

> "Peter Collins" <newkleer@bigpond.net.au> wrote in message

> news:EhIDGUPnCHA.3152@webserver1.softwarefx.com...

> > If u resize the radar chart (maybe others too?) to the point where the

> size

> > goes to zero, they throw this exception.

> >

> > Also it seems radar charts have little if no support/functions at this

> > stage, things like scaling each "arm" on the radar would be good, for

> > example if one arms values are in the 10000's range and the other 3 arms

> are

> > in the 10's range u wont see them as anything more than a fraction out

> from

> > the origin as the chart is scaled to the largest arms size.

> >

> >

>

>

Link to comment
Share on other sites

You can combine areas and lines by using the Gallery property of the series

object.

chart1.Series[0].Gallery = Gallery.Area;

chart1.Series[1].Gallery = Gallery.Lines;

--

Regards,

JC

Software FX Support

"Peter Collins" <newkleer@bigpond.net.au> wrote in message

news:nMLvpx0nCHA.3152@webserver1.softwarefx.com...

> thanks

>

> one other feature that id request is the ability to have fillarea method

> able to be used on individual series, so u can have both lines an areas

>

> "Software FX Support" <support@softwarefx.com> wrote in message

> news:14vf3TTnCHA.3152@webserver1.softwarefx.com...

> > We will research the divide by zero exception in radar charts.

> >

> > Radar charts also do not support a secondary axis, we will try to

improve

> > this in the next service pack. Note that the number of "arms" (If I am

> > guessing correctly what do you mean by that) matches the number of

points

> in

> > a chart, we will support a secondary axis (like the support in a bar

> chart)

> > where you can assign a whole series to a different axis, it is unclear

at

> > this time whether (or where) we will paint the other axes.

> >

> > --

> > Regards,

> >

> > JC

> > Software FX Support

> > "Peter Collins" <newkleer@bigpond.net.au> wrote in message

> > news:EhIDGUPnCHA.3152@webserver1.softwarefx.com...

> > > If u resize the radar chart (maybe others too?) to the point where the

> > size

> > > goes to zero, they throw this exception.

> > >

> > > Also it seems radar charts have little if no support/functions at this

> > > stage, things like scaling each "arm" on the radar would be good, for

> > > example if one arms values are in the 10000's range and the other 3

arms

> > are

> > > in the 10's range u wont see them as anything more than a fraction out

> > from

> > > the origin as the chart is scaled to the largest arms size.

> > >

> > >

> >

> >

>

>

Link to comment
Share on other sites

when i do that on a radar chart i get the following

System.ArgumentNullException: Value cannot be null.

Parameter name: font

at System.Drawing.Graphics.DrawString(String s, Font font, Brush brush,

RectangleF layoutRectangle, StringFormat format)

at System.Drawing.Graphics.DrawString(String s, Font font, Brush brush,

Single x, Single y, StringFormat format)

at SoftwareFX.ChartFX.Base.GraphicsEx.DrawString(String s, Font font,

Brush brush, Int32 x, Int32 y, StringFormat format)

at SoftwareFX.ChartFX.Base.DrawText.DrawString(IGraphicsEx gx, Font font,

String s, Point p)

at SoftwareFX.ChartFX.10.HW(IGraphicsEx 1M0, LabelList 1M1)

at SoftwareFX.ChartFX.Chart.DL(10 1AX, IGraphicsEx 1AY, Rectangle& 1AZ,

Int32& 1B0)

at SoftwareFX.ChartFX.Chart.DK(PaintBar 1AU, IGraphicsEx 1AV, Rectangle&

1AW)

at SoftwareFX.ChartFX.0Q.OnPaint(PaintEventArgs e)

at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e,

Int16 layer, Boolean disposeEventArgs)

at System.Windows.Forms.Control.WmPaint(Message& m)

at System.Windows.Forms.Control.WndProc(Message& m)

at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)

at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)

at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg,

IntPtr wparam, IntPtr lparam)

and the dreaded big red X D:

"Software FX Support" <support@softwarefx.com> wrote in message

news:aJyJZ#5nCHA.3152@webserver1.softwarefx.com...

> You can combine areas and lines by using the Gallery property of the

series

> object.

>

> chart1.Series[0].Gallery = Gallery.Area;

> chart1.Series[1].Gallery = Gallery.Lines;

>

> --

> Regards,

>

> JC

> Software FX Support

> "Peter Collins" <newkleer@bigpond.net.au> wrote in message

> news:nMLvpx0nCHA.3152@webserver1.softwarefx.com...

> > thanks

> >

> > one other feature that id request is the ability to have fillarea method

> > able to be used on individual series, so u can have both lines an areas

> >

> > "Software FX Support" <support@softwarefx.com> wrote in message

> > news:14vf3TTnCHA.3152@webserver1.softwarefx.com...

> > > We will research the divide by zero exception in radar charts.

> > >

> > > Radar charts also do not support a secondary axis, we will try to

> improve

> > > this in the next service pack. Note that the number of "arms" (If I am

> > > guessing correctly what do you mean by that) matches the number of

> points

> > in

> > > a chart, we will support a secondary axis (like the support in a bar

> > chart)

> > > where you can assign a whole series to a different axis, it is unclear

> at

> > > this time whether (or where) we will paint the other axes.

> > >

> > > --

> > > Regards,

> > >

> > > JC

> > > Software FX Support

> > > "Peter Collins" <newkleer@bigpond.net.au> wrote in message

> > > news:EhIDGUPnCHA.3152@webserver1.softwarefx.com...

> > > > If u resize the radar chart (maybe others too?) to the point where

the

> > > size

> > > > goes to zero, they throw this exception.

> > > >

> > > > Also it seems radar charts have little if no support/functions at

this

> > > > stage, things like scaling each "arm" on the radar would be good,

for

> > > > example if one arms values are in the 10000's range and the other 3

> arms

> > > are

> > > > in the 10's range u wont see them as anything more than a fraction

out

> > > from

> > > > the origin as the chart is scaled to the largest arms size.

> > > >

> > > >

> > >

> > >

> >

> >

>

>

Link to comment
Share on other sites

>> when i do that on a radar chart i get the following

When you do what with radar, can you provide code ?

Note that radar can only be mixed with other "non-axis" charts such as pie.

--

Regards,

JC

Software FX Support

"Peter Collins" <newkleer@bigpond.net.au> wrote in message

news:tmvp6##nCHA.3152@webserver1.softwarefx.com...

> when i do that on a radar chart i get the following

>

> System.ArgumentNullException: Value cannot be null.

> Parameter name: font

> at System.Drawing.Graphics.DrawString(String s, Font font, Brush brush,

> RectangleF layoutRectangle, StringFormat format)

> at System.Drawing.Graphics.DrawString(String s, Font font, Brush brush,

> Single x, Single y, StringFormat format)

> at SoftwareFX.ChartFX.Base.GraphicsEx.DrawString(String s, Font font,

> Brush brush, Int32 x, Int32 y, StringFormat format)

> at SoftwareFX.ChartFX.Base.DrawText.DrawString(IGraphicsEx gx, Font

font,

> String s, Point p)

> at SoftwareFX.ChartFX.10.HW(IGraphicsEx 1M0, LabelList 1M1)

> at SoftwareFX.ChartFX.Chart.DL(10 1AX, IGraphicsEx 1AY, Rectangle& 1AZ,

> Int32& 1B0)

> at SoftwareFX.ChartFX.Chart.DK(PaintBar 1AU, IGraphicsEx 1AV,

Rectangle&

> 1AW)

> at SoftwareFX.ChartFX.0Q.OnPaint(PaintEventArgs e)

> at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs

e,

> Int16 layer, Boolean disposeEventArgs)

> at System.Windows.Forms.Control.WmPaint(Message& m)

> at System.Windows.Forms.Control.WndProc(Message& m)

> at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)

> at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)

> at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg,

> IntPtr wparam, IntPtr lparam)

>

> and the dreaded big red X D:

>

> "Software FX Support" <support@softwarefx.com> wrote in message

> news:aJyJZ#5nCHA.3152@webserver1.softwarefx.com...

> > You can combine areas and lines by using the Gallery property of the

> series

> > object.

> >

> > chart1.Series[0].Gallery = Gallery.Area;

> > chart1.Series[1].Gallery = Gallery.Lines;

> >

> > --

> > Regards,

> >

> > JC

> > Software FX Support

> > "Peter Collins" <newkleer@bigpond.net.au> wrote in message

> > news:nMLvpx0nCHA.3152@webserver1.softwarefx.com...

> > > thanks

> > >

> > > one other feature that id request is the ability to have fillarea

method

> > > able to be used on individual series, so u can have both lines an

areas

> > >

> > > "Software FX Support" <support@softwarefx.com> wrote in message

> > > news:14vf3TTnCHA.3152@webserver1.softwarefx.com...

> > > > We will research the divide by zero exception in radar charts.

> > > >

> > > > Radar charts also do not support a secondary axis, we will try to

> > improve

> > > > this in the next service pack. Note that the number of "arms" (If I

am

> > > > guessing correctly what do you mean by that) matches the number of

> > points

> > > in

> > > > a chart, we will support a secondary axis (like the support in a bar

> > > chart)

> > > > where you can assign a whole series to a different axis, it is

unclear

> > at

> > > > this time whether (or where) we will paint the other axes.

> > > >

> > > > --

> > > > Regards,

> > > >

> > > > JC

> > > > Software FX Support

> > > > "Peter Collins" <newkleer@bigpond.net.au> wrote in message

> > > > news:EhIDGUPnCHA.3152@webserver1.softwarefx.com...

> > > > > If u resize the radar chart (maybe others too?) to the point where

> the

> > > > size

> > > > > goes to zero, they throw this exception.

> > > > >

> > > > > Also it seems radar charts have little if no support/functions at

> this

> > > > > stage, things like scaling each "arm" on the radar would be good,

> for

> > > > > example if one arms values are in the 10000's range and the other

3

> > arms

> > > > are

> > > > > in the 10's range u wont see them as anything more than a fraction

> out

> > > > from

> > > > > the origin as the chart is scaled to the largest arms size.

> > > > >

> > > > >

> > > >

> > > >

> > >

> > >

> >

> >

>

>

Link to comment
Share on other sites

I'm afraid this is not possible, the FillArea property was designed into the

GalleryObj object (Radar) and as such is global to the chart.

--

FP

Software FX Support

"Peter Collins" <newkleer@bigpond.net.au> wrote in message

news:nMLvpx0nCHA.3152@webserver1.softwarefx.com...

> thanks

>

> one other feature that id request is the ability to have fillarea method

> able to be used on individual series, so u can have both lines an areas

>

> "Software FX Support" <support@softwarefx.com> wrote in message

> news:14vf3TTnCHA.3152@webserver1.softwarefx.com...

> > We will research the divide by zero exception in radar charts.

> >

> > Radar charts also do not support a secondary axis, we will try to

improve

> > this in the next service pack. Note that the number of "arms" (If I am

> > guessing correctly what do you mean by that) matches the number of

points

> in

> > a chart, we will support a secondary axis (like the support in a bar

> chart)

> > where you can assign a whole series to a different axis, it is unclear

at

> > this time whether (or where) we will paint the other axes.

> >

> > --

> > Regards,

> >

> > JC

> > Software FX Support

> > "Peter Collins" <newkleer@bigpond.net.au> wrote in message

> > news:EhIDGUPnCHA.3152@webserver1.softwarefx.com...

> > > If u resize the radar chart (maybe others too?) to the point where the

> > size

> > > goes to zero, they throw this exception.

> > >

> > > Also it seems radar charts have little if no support/functions at this

> > > stage, things like scaling each "arm" on the radar would be good, for

> > > example if one arms values are in the 10000's range and the other 3

arms

> > are

> > > in the 10's range u wont see them as anything more than a fraction out

> > from

> > > the origin as the chart is scaled to the largest arms size.

> > >

> > >

> >

> >

>

>

Link to comment
Share on other sites

when i set individual series to be area or line, on a radar graph

ie

chart1.Gallery = Gallery.Radar

chart1.Series[0].Gallery = Gallery.Area;

chart1.Series[1].Gallery = Gallery.Lines;

vb.net code

'_dt is a datatable of values to be plotted

chart1.DataSource = _dt

chart1.Gallery = Gallery.Radar

chart1.Series(0).Gallery = Gallery.Area

chart1.SerLegBox = True

"Software FX Support" <support@softwarefx.com> wrote in message

news:e0N4IoFoCHA.3152@webserver1.softwarefx.com...

> >> when i do that on a radar chart i get the following

>

> When you do what with radar, can you provide code ?

> Note that radar can only be mixed with other "non-axis" charts such as

pie.

>

> --

> Regards,

>

> JC

> Software FX Support

> "Peter Collins" <newkleer@bigpond.net.au> wrote in message

> news:tmvp6##nCHA.3152@webserver1.softwarefx.com...

> > when i do that on a radar chart i get the following

> >

> > System.ArgumentNullException: Value cannot be null.

> > Parameter name: font

> > at System.Drawing.Graphics.DrawString(String s, Font font, Brush

brush,

> > RectangleF layoutRectangle, StringFormat format)

> > at System.Drawing.Graphics.DrawString(String s, Font font, Brush

brush,

> > Single x, Single y, StringFormat format)

> > at SoftwareFX.ChartFX.Base.GraphicsEx.DrawString(String s, Font font,

> > Brush brush, Int32 x, Int32 y, StringFormat format)

> > at SoftwareFX.ChartFX.Base.DrawText.DrawString(IGraphicsEx gx, Font

> font,

> > String s, Point p)

> > at SoftwareFX.ChartFX.10.HW(IGraphicsEx 1M0, LabelList 1M1)

> > at SoftwareFX.ChartFX.Chart.DL(10 1AX, IGraphicsEx 1AY, Rectangle&

1AZ,

> > Int32& 1B0)

> > at SoftwareFX.ChartFX.Chart.DK(PaintBar 1AU, IGraphicsEx 1AV,

> Rectangle&

> > 1AW)

> > at SoftwareFX.ChartFX.0Q.OnPaint(PaintEventArgs e)

> > at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs

> e,

> > Int16 layer, Boolean disposeEventArgs)

> > at System.Windows.Forms.Control.WmPaint(Message& m)

> > at System.Windows.Forms.Control.WndProc(Message& m)

> > at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)

> > at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)

> > at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg,

> > IntPtr wparam, IntPtr lparam)

> >

> > and the dreaded big red X D:

> >

> > "Software FX Support" <support@softwarefx.com> wrote in message

> > news:aJyJZ#5nCHA.3152@webserver1.softwarefx.com...

> > > You can combine areas and lines by using the Gallery property of the

> > series

> > > object.

> > >

> > > chart1.Series[0].Gallery = Gallery.Area;

> > > chart1.Series[1].Gallery = Gallery.Lines;

> > >

> > > --

> > > Regards,

> > >

> > > JC

> > > Software FX Support

> > > "Peter Collins" <newkleer@bigpond.net.au> wrote in message

> > > news:nMLvpx0nCHA.3152@webserver1.softwarefx.com...

> > > > thanks

> > > >

> > > > one other feature that id request is the ability to have fillarea

> method

> > > > able to be used on individual series, so u can have both lines an

> areas

> > > >

> > > > "Software FX Support" <support@softwarefx.com> wrote in message

> > > > news:14vf3TTnCHA.3152@webserver1.softwarefx.com...

> > > > > We will research the divide by zero exception in radar charts.

> > > > >

> > > > > Radar charts also do not support a secondary axis, we will try to

> > > improve

> > > > > this in the next service pack. Note that the number of "arms" (If

I

> am

> > > > > guessing correctly what do you mean by that) matches the number of

> > > points

> > > > in

> > > > > a chart, we will support a secondary axis (like the support in a

bar

> > > > chart)

> > > > > where you can assign a whole series to a different axis, it is

> unclear

> > > at

> > > > > this time whether (or where) we will paint the other axes.

> > > > >

> > > > > --

> > > > > Regards,

> > > > >

> > > > > JC

> > > > > Software FX Support

> > > > > "Peter Collins" <newkleer@bigpond.net.au> wrote in message

> > > > > news:EhIDGUPnCHA.3152@webserver1.softwarefx.com...

> > > > > > If u resize the radar chart (maybe others too?) to the point

where

> > the

> > > > > size

> > > > > > goes to zero, they throw this exception.

> > > > > >

> > > > > > Also it seems radar charts have little if no support/functions

at

> > this

> > > > > > stage, things like scaling each "arm" on the radar would be

good,

> > for

> > > > > > example if one arms values are in the 10000's range and the

other

> 3

> > > arms

> > > > > are

> > > > > > in the 10's range u wont see them as anything more than a

fraction

> > out

> > > > > from

> > > > > > the origin as the chart is scaled to the largest arms size.

> > > > > >

> > > > > >

> > > > >

> > > > >

> > > >

> > > >

> > >

> > >

> >

> >

>

>

Link to comment
Share on other sites

I am sorry I misunderstood your initial question, Area and Lines are "axis"

types that cannot be mixed with Radar (or Pie) charts. At this time you

cannot combine lines and fill-areas.in a Radar chart.

--

Regards,

JC

Software FX Support

"Peter Collins" <newkleer@bigpond.net.au> wrote in message

news:g5IakKMoCHA.3152@webserver1.softwarefx.com...

> when i set individual series to be area or line, on a radar graph

> ie

>

> chart1.Gallery = Gallery.Radar

> chart1.Series[0].Gallery = Gallery.Area;

> chart1.Series[1].Gallery = Gallery.Lines;

>

> vb.net code

> '_dt is a datatable of values to be plotted

> chart1.DataSource = _dt

> chart1.Gallery = Gallery.Radar

> chart1.Series(0).Gallery = Gallery.Area

> chart1.SerLegBox = True

>

>

> "Software FX Support" <support@softwarefx.com> wrote in message

> news:e0N4IoFoCHA.3152@webserver1.softwarefx.com...

> > >> when i do that on a radar chart i get the following

> >

> > When you do what with radar, can you provide code ?

> > Note that radar can only be mixed with other "non-axis" charts such as

> pie.

> >

> > --

> > Regards,

> >

> > JC

> > Software FX Support

> > "Peter Collins" <newkleer@bigpond.net.au> wrote in message

> > news:tmvp6##nCHA.3152@webserver1.softwarefx.com...

> > > when i do that on a radar chart i get the following

> > >

> > > System.ArgumentNullException: Value cannot be null.

> > > Parameter name: font

> > > at System.Drawing.Graphics.DrawString(String s, Font font, Brush

> brush,

> > > RectangleF layoutRectangle, StringFormat format)

> > > at System.Drawing.Graphics.DrawString(String s, Font font, Brush

> brush,

> > > Single x, Single y, StringFormat format)

> > > at SoftwareFX.ChartFX.Base.GraphicsEx.DrawString(String s, Font

font,

> > > Brush brush, Int32 x, Int32 y, StringFormat format)

> > > at SoftwareFX.ChartFX.Base.DrawText.DrawString(IGraphicsEx gx, Font

> > font,

> > > String s, Point p)

> > > at SoftwareFX.ChartFX.10.HW(IGraphicsEx 1M0, LabelList 1M1)

> > > at SoftwareFX.ChartFX.Chart.DL(10 1AX, IGraphicsEx 1AY, Rectangle&

> 1AZ,

> > > Int32& 1B0)

> > > at SoftwareFX.ChartFX.Chart.DK(PaintBar 1AU, IGraphicsEx 1AV,

> > Rectangle&

> > > 1AW)

> > > at SoftwareFX.ChartFX.0Q.OnPaint(PaintEventArgs e)

> > > at

System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs

> > e,

> > > Int16 layer, Boolean disposeEventArgs)

> > > at System.Windows.Forms.Control.WmPaint(Message& m)

> > > at System.Windows.Forms.Control.WndProc(Message& m)

> > > at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)

> > > at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)

> > > at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32

msg,

> > > IntPtr wparam, IntPtr lparam)

> > >

> > > and the dreaded big red X D:

> > >

> > > "Software FX Support" <support@softwarefx.com> wrote in message

> > > news:aJyJZ#5nCHA.3152@webserver1.softwarefx.com...

> > > > You can combine areas and lines by using the Gallery property of the

> > > series

> > > > object.

> > > >

> > > > chart1.Series[0].Gallery = Gallery.Area;

> > > > chart1.Series[1].Gallery = Gallery.Lines;

> > > >

> > > > --

> > > > Regards,

> > > >

> > > > JC

> > > > Software FX Support

> > > > "Peter Collins" <newkleer@bigpond.net.au> wrote in message

> > > > news:nMLvpx0nCHA.3152@webserver1.softwarefx.com...

> > > > > thanks

> > > > >

> > > > > one other feature that id request is the ability to have fillarea

> > method

> > > > > able to be used on individual series, so u can have both lines an

> > areas

> > > > >

> > > > > "Software FX Support" <support@softwarefx.com> wrote in message

> > > > > news:14vf3TTnCHA.3152@webserver1.softwarefx.com...

> > > > > > We will research the divide by zero exception in radar charts.

> > > > > >

> > > > > > Radar charts also do not support a secondary axis, we will try

to

> > > > improve

> > > > > > this in the next service pack. Note that the number of "arms"

(If

> I

> > am

> > > > > > guessing correctly what do you mean by that) matches the number

of

> > > > points

> > > > > in

> > > > > > a chart, we will support a secondary axis (like the support in a

> bar

> > > > > chart)

> > > > > > where you can assign a whole series to a different axis, it is

> > unclear

> > > > at

> > > > > > this time whether (or where) we will paint the other axes.

> > > > > >

> > > > > > --

> > > > > > Regards,

> > > > > >

> > > > > > JC

> > > > > > Software FX Support

> > > > > > "Peter Collins" <newkleer@bigpond.net.au> wrote in message

> > > > > > news:EhIDGUPnCHA.3152@webserver1.softwarefx.com...

> > > > > > > If u resize the radar chart (maybe others too?) to the point

> where

> > > the

> > > > > > size

> > > > > > > goes to zero, they throw this exception.

> > > > > > >

> > > > > > > Also it seems radar charts have little if no support/functions

> at

> > > this

> > > > > > > stage, things like scaling each "arm" on the radar would be

> good,

> > > for

> > > > > > > example if one arms values are in the 10000's range and the

> other

> > 3

> > > > arms

> > > > > > are

> > > > > > > in the 10's range u wont see them as anything more than a

> fraction

> > > out

> > > > > > from

> > > > > > > the origin as the chart is scaled to the largest arms size.

> > > > > > >

> > > > > > >

> > > > > >

> > > > > >

> > > > >

> > > > >

> > > >

> > > >

> > >

> > >

> >

> >

>

>

Link to comment
Share on other sites

ok thanks for clearing that up

is it possible in future to have support for line/area combos in radar

charts?

"Software FX Support" <support@softwarefx.com> wrote in message

news:xz$W8VSoCHA.2684@webserver1.softwarefx.com...

> I am sorry I misunderstood your initial question, Area and Lines are

"axis"

> types that cannot be mixed with Radar (or Pie) charts. At this time you

> cannot combine lines and fill-areas.in a Radar chart.

>

> --

> Regards,

>

> JC

> Software FX Support

> "Peter Collins" <newkleer@bigpond.net.au> wrote in message

> news:g5IakKMoCHA.3152@webserver1.softwarefx.com...

> > when i set individual series to be area or line, on a radar graph

> > ie

> >

> > chart1.Gallery = Gallery.Radar

> > chart1.Series[0].Gallery = Gallery.Area;

> > chart1.Series[1].Gallery = Gallery.Lines;

> >

> > vb.net code

> > '_dt is a datatable of values to be plotted

> > chart1.DataSource = _dt

> > chart1.Gallery = Gallery.Radar

> > chart1.Series(0).Gallery = Gallery.Area

> > chart1.SerLegBox = True

> >

> >

> > "Software FX Support" <support@softwarefx.com> wrote in message

> > news:e0N4IoFoCHA.3152@webserver1.softwarefx.com...

> > > >> when i do that on a radar chart i get the following

> > >

> > > When you do what with radar, can you provide code ?

> > > Note that radar can only be mixed with other "non-axis" charts such as

> > pie.

> > >

> > > --

> > > Regards,

> > >

> > > JC

> > > Software FX Support

> > > "Peter Collins" <newkleer@bigpond.net.au> wrote in message

> > > news:tmvp6##nCHA.3152@webserver1.softwarefx.com...

> > > > when i do that on a radar chart i get the following

> > > >

> > > > System.ArgumentNullException: Value cannot be null.

> > > > Parameter name: font

> > > > at System.Drawing.Graphics.DrawString(String s, Font font, Brush

> > brush,

> > > > RectangleF layoutRectangle, StringFormat format)

> > > > at System.Drawing.Graphics.DrawString(String s, Font font, Brush

> > brush,

> > > > Single x, Single y, StringFormat format)

> > > > at SoftwareFX.ChartFX.Base.GraphicsEx.DrawString(String s, Font

> font,

> > > > Brush brush, Int32 x, Int32 y, StringFormat format)

> > > > at SoftwareFX.ChartFX.Base.DrawText.DrawString(IGraphicsEx gx,

Font

> > > font,

> > > > String s, Point p)

> > > > at SoftwareFX.ChartFX.10.HW(IGraphicsEx 1M0, LabelList 1M1)

> > > > at SoftwareFX.ChartFX.Chart.DL(10 1AX, IGraphicsEx 1AY,

Rectangle&

> > 1AZ,

> > > > Int32& 1B0)

> > > > at SoftwareFX.ChartFX.Chart.DK(PaintBar 1AU, IGraphicsEx 1AV,

> > > Rectangle&

> > > > 1AW)

> > > > at SoftwareFX.ChartFX.0Q.OnPaint(PaintEventArgs e)

> > > > at

> System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs

> > > e,

> > > > Int16 layer, Boolean disposeEventArgs)

> > > > at System.Windows.Forms.Control.WmPaint(Message& m)

> > > > at System.Windows.Forms.Control.WndProc(Message& m)

> > > > at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)

> > > > at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)

> > > > at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32

> msg,

> > > > IntPtr wparam, IntPtr lparam)

> > > >

> > > > and the dreaded big red X D:

> > > >

> > > > "Software FX Support" <support@softwarefx.com> wrote in message

> > > > news:aJyJZ#5nCHA.3152@webserver1.softwarefx.com...

> > > > > You can combine areas and lines by using the Gallery property of

the

> > > > series

> > > > > object.

> > > > >

> > > > > chart1.Series[0].Gallery = Gallery.Area;

> > > > > chart1.Series[1].Gallery = Gallery.Lines;

> > > > >

> > > > > --

> > > > > Regards,

> > > > >

> > > > > JC

> > > > > Software FX Support

> > > > > "Peter Collins" <newkleer@bigpond.net.au> wrote in message

> > > > > news:nMLvpx0nCHA.3152@webserver1.softwarefx.com...

> > > > > > thanks

> > > > > >

> > > > > > one other feature that id request is the ability to have

fillarea

> > > method

> > > > > > able to be used on individual series, so u can have both lines

an

> > > areas

> > > > > >

> > > > > > "Software FX Support" <support@softwarefx.com> wrote in message

> > > > > > news:14vf3TTnCHA.3152@webserver1.softwarefx.com...

> > > > > > > We will research the divide by zero exception in radar charts.

> > > > > > >

> > > > > > > Radar charts also do not support a secondary axis, we will try

> to

> > > > > improve

> > > > > > > this in the next service pack. Note that the number of "arms"

> (If

> > I

> > > am

> > > > > > > guessing correctly what do you mean by that) matches the

number

> of

> > > > > points

> > > > > > in

> > > > > > > a chart, we will support a secondary axis (like the support in

a

> > bar

> > > > > > chart)

> > > > > > > where you can assign a whole series to a different axis, it is

> > > unclear

> > > > > at

> > > > > > > this time whether (or where) we will paint the other axes.

> > > > > > >

> > > > > > > --

> > > > > > > Regards,

> > > > > > >

> > > > > > > JC

> > > > > > > Software FX Support

> > > > > > > "Peter Collins" <newkleer@bigpond.net.au> wrote in message

> > > > > > > news:EhIDGUPnCHA.3152@webserver1.softwarefx.com...

> > > > > > > > If u resize the radar chart (maybe others too?) to the point

> > where

> > > > the

> > > > > > > size

> > > > > > > > goes to zero, they throw this exception.

> > > > > > > >

> > > > > > > > Also it seems radar charts have little if no

support/functions

> > at

> > > > this

> > > > > > > > stage, things like scaling each "arm" on the radar would be

> > good,

> > > > for

> > > > > > > > example if one arms values are in the 10000's range and the

> > other

> > > 3

> > > > > arms

> > > > > > > are

> > > > > > > > in the 10's range u wont see them as anything more than a

> > fraction

> > > > out

> > > > > > > from

> > > > > > > > the origin as the chart is scaled to the largest arms size.

> > > > > > > >

> > > > > > > >

> > > > > > >

> > > > > > >

> > > > > >

> > > > > >

> > > > >

> > > > >

> > > >

> > > >

> > >

> > >

> >

> >

>

>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...