Hello,
I have the following situation:
- I use ".trdx" reports created with standalone Report Designer in ASP.Net MVC application
- I have a reserved space for a graph in a report,
- the report is parametrized to select from a database values within a date range, the size of the range could vary significantly from one week or less to one month, three months or even more.
Problem is that if my serie is with daily data then I get too many labels that overlaps over each other. I saw that I can configure LabelStep on the scale but that is a static setting. If I increase the LabelStep to have the labels properly displayed for one month then I remain short on labels.
Ideal solution for my problem would be to have a way to bind LabelStep to a report parameter so I can calculate how big it shall be from outside depending on selected range.
Another solution would be to have somehow a way to configure a maximum number of labels to be displayed for the XAxis and the LabelStep to be adjusted automatically based on that
The desperate solution I was considering also was to dinamically modify the ".trdx" XML report before it get loaded by the report viewer, but didn't found a way to intercept a component/interface that would allow me to do that.
Could you please suggest any option to address this issue?
Thank you,
Vasile
I have the following situation:
- I use ".trdx" reports created with standalone Report Designer in ASP.Net MVC application
- I have a reserved space for a graph in a report,
- the report is parametrized to select from a database values within a date range, the size of the range could vary significantly from one week or less to one month, three months or even more.
Problem is that if my serie is with daily data then I get too many labels that overlaps over each other. I saw that I can configure LabelStep on the scale but that is a static setting. If I increase the LabelStep to have the labels properly displayed for one month then I remain short on labels.
Ideal solution for my problem would be to have a way to bind LabelStep to a report parameter so I can calculate how big it shall be from outside depending on selected range.
Another solution would be to have somehow a way to configure a maximum number of labels to be displayed for the XAxis and the LabelStep to be adjusted automatically based on that
The desperate solution I was considering also was to dinamically modify the ".trdx" XML report before it get loaded by the report viewer, but didn't found a way to intercept a component/interface that would allow me to do that.
Could you please suggest any option to address this issue?
Thank you,
Vasile