Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Datetime on Y-axis of a stacked bar chart
amahajan
Hi,
I want to show date time on Y-axis of stacked bar chart. Since we can't set datetime as data type to Y-axis, i was trying another way, setting date's milliseconds and dynamically showing it's corresponding date text while rendering axis in beforeDrawAxisLabel. Also axis' min and max range is set in beforeGeneration
Pl. find attached chart_datetime_on_yaxis_test.rptdesign.
It shows only first value correctly, others are incorrect. Also it shows only 2 values, the second value is drawn till the end of the range. what might be wrong?
Even an example to plot long data type values on Y-axis would be helpful.
Thanks in advance,
Ashish
Find more posts tagged with
Comments
amahajan
See the tooltip for value
amahajan
Hi,
I fixed it. To stack the values, we specify Optional Y Series Grouping. If we specify the value in optional grouping then it's sorted on the values. But since i needed to display values as they appear. So i specified a dymmy val, an auto increment counter to display values in givn order. But this requires that the value should be specified as delta i.e. difference w.r.t. previous value. That's why the second value was going out of range.
Thanks a lot!!
Thanks & Regards,
Ashish