Jump to content
Software FX Community

x-axis and date values


User (Legacy)

Recommended Posts

Hi,

if chart.Gallery = BAR then

When populating the graph with values and date, the x-axis does not show the

dates that I added.

If I use "lines" everything works fine...

Could you tell me what I do wrong?

'chart.Gallery = BAR 'my dates comes out wrong on the x-axis

chart.Gallery = LINES ' OK

chart.Axis(AXIS_X).Format = AF_DATE '

chart.Axis(AXIS_X).Format = "DMM.yyyy"

chart.OpenDataEX COD_VALUES,1,count

chart.OpenDataEX COD_XVALUES, 1, count

for j = 0 to count - 1

chart.ValueEX(0,j) = obj.item(j).value

chart.XValueEx(0, j) = obj.item(j).date

next

chart.CloseData COD_XVALUES

chart.CloseData COD_VALUES

thanks in advance

Bj

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...