Jump to content
Software FX Community

Bar Chart- X Axis problem


User (Legacy)

Recommended Posts

Posted

Hi,

I am having an issue with date range being set for x axis when using Bar

graph.

The date on Xaxis always starts from year 1899.. instead of using the date

range that I am setting.

I am using Chart.Gallery property to set the chart type.

Also for X axis, the I am using Axis.Min and Axis.Max to set the date range.

I have no problem with any other type of chart e.g Line, point, Area.

All work fine except for Bar and Gantt type of chart.

Appreciate if anyone can help..

Thanks!

Mythri

Posted

Bar and Gantt charts do not support X data. Can you specify the version

(COM, .NET) and build you are using ?

--

Regards,

JC

Software FX Support

"Mythri" <mythri.rao@eclipsys.com> wrote in message

news:HagZ$OpFEHA.2432@webserver3.softwarefx.com...

> Hi,

>

> I am having an issue with date range being set for x axis when using Bar

> graph.

>

> The date on Xaxis always starts from year 1899.. instead of using the date

> range that I am setting.

>

> I am using Chart.Gallery property to set the chart type.

>

> Also for X axis, the I am using Axis.Min and Axis.Max to set the date

range.

>

> I have no problem with any other type of chart e.g Line, point, Area.

>

> All work fine except for Bar and Gantt type of chart.

>

> Appreciate if anyone can help..

>

> Thanks!

>

> Mythri

>

>

Posted

Thanks for your quick response.

I am using VB.net(Visual Studio 2003) in .netframework 1.1.

I'm using chartfx for .net.

Thanks,

Mythri

"SoftwareFX Support" <noreply@softwarefx.com> wrote in message

news:4AxdDrrFEHA.196@webserver3.softwarefx.com...

> Bar and Gantt charts do not support X data. Can you specify the version

> (COM, .NET) and build you are using ?

>

> --

> Regards,

>

> JC

> Software FX Support

> "Mythri" <mythri.rao@eclipsys.com> wrote in message

> news:HagZ$OpFEHA.2432@webserver3.softwarefx.com...

> > Hi,

> >

> > I am having an issue with date range being set for x axis when using Bar

> > graph.

> >

> > The date on Xaxis always starts from year 1899.. instead of using the

date

> > range that I am setting.

> >

> > I am using Chart.Gallery property to set the chart type.

> >

> > Also for X axis, the I am using Axis.Min and Axis.Max to set the date

> range.

> >

> > I have no problem with any other type of chart e.g Line, point, Area.

> >

> > All work fine except for Bar and Gantt type of chart.

> >

> > Appreciate if anyone can help..

> >

> > Thanks!

> >

> > Mythri

> >

> >

>

>

Posted

Are you setting X-Values for this chart ?

Bar/Gantt charts, don't support X-Values. The X-Axis in these charts is

categorical (just a collection of labels).

However, in Chart FX 6.2, we have what we call "Data Driven Labels".

If you set X-Values in a Bar/Gantt chart, even though the x-values are not

used to draw the bars (the bar position is always consecutive to each

other), the x-values are used to label the x-axis and associate these

x-values to each bar.

You didn't say whether what version of Chart FX you are using, if you are

using 6.0, this is not supported. You can upgrade form 6.0 to 6.2 for free.

If you are already using 6.2 please export the chart to a binary file and

attach it to your next posting along with a screen shot of what you are

getting.

--

FP

Software FX

Archived

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

×
×
  • Create New...