Jump to content
Software FX Community

Dates as FieldUsage.Label in x-axis do not work properly with Compact


imran_javed@hotmail.com

Recommended Posts

Hi,

We are using Line Chart and using Dates as FieldUsage.Label on x-axis and numeric values in y-axis as FieldUsage.Value. We are are also supporting daily, weekly data compact using following code:

chart.Data.Y.CompactFormula =

CompactFormulas.First;chart.Data.X.CompactFormula = CompactFormulas.First;chartRollingValuation.Data.Compact(7); // for weekly

It works fine to compact Values in Y-axis but do not work with Dates as Label in x-asis and show initial date values. If we use Dates as FieldUsage.XValue then this functionality works fine. but due to some other requirements (we have to handle dates manually); we have to use Dates as FieldUsage.Label.

Can you please help me to find out how to handle Dates as FieldUsage.Label in x-axis along with Compact

Thanks

Link to comment
Share on other sites

  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...