Jump to content
Software FX Community

mulit series chart with date X axis


User (Legacy)

Recommended Posts

Hi,

I need to draw nultiple series on a single chart with date-based X axis. The

series can have different start and end dates and also can have missing

point (especially on weekends). I do not want to use hidden points - I want

the chart to draw a line instead. I assign X and Y values. Please take a

look on the attached picture to see what happens. I definitely did not

assign any dates earlier then 1982.

Best Regards,

Alex.

Link to comment
Share on other sites

All series have the same amount of points, what you see is "filler" points 

for the shorter series which are initialized to zero (0).

To avoid this you need to assign CHART_HIDDEN to the end of the shorter

series to reach the number of points in the chart. You can also use

COD.AllocHidden in your OpenData call to initialize all points to hidden

instead of zero.

--

Francisco Padron

www.chartfx.com

"Alex" <dubisky@hotmail.com> wrote in message

news:SsmQushrFHA.4084@webserver3.softwarefx.com...

> Hi,

>

> I need to draw nultiple series on a single chart with date-based X axis.

> The

> series can have different start and end dates and also can have missing

> point (especially on weekends). I do not want to use hidden points - I

> want

> the chart to draw a line instead. I assign X and Y values. Please take a

> look on the attached picture to see what happens. I definitely did not

> assign any dates earlier then 1982.

>

> Best Regards,

> Alex.

>

>

>

>

post-2107-13922378188933_thumb.png

Link to comment
Share on other sites

  • 1 month later...

If that didn't fix the problem it maybe with the formatting of your date 

field. I had the problem today.. was using access 2000 as my db and then

switch to another odbc db and was getting the problem. I corrected the

problem by putting the source querry into a temperarory recordset and

createing my own "date" field, formatting the way I want it to look then

putting into chart....

may seem like a hassle, but makes it easy when switching db's ....

Hope to help

Brian

"Alex" <dubisky@hotmail.com> wrote in message

news:SsmQushrFHA.4084@webserver3.softwarefx.com...

> Hi,

>

> I need to draw nultiple series on a single chart with date-based X axis.

> The

> series can have different start and end dates and also can have missing

> point (especially on weekends). I do not want to use hidden points - I

> want

> the chart to draw a line instead. I assign X and Y values. Please take a

> look on the attached picture to see what happens. I definitely did not

> assign any dates earlier then 1982.

>

> Best Regards,

> Alex.

>

>

>

>

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...