labels in bar chart not aligned properly
While trying to display reports by days on the bar chart, the range values are getting center aligned to the bars. Suppose say i want to display total, new, and completed tickets report that were opened in past 1 week. the bars are shown on either side of the x axis point for 1 week as shown in attachment -'dojo graph chart'(just fyi('today' has no data)). its difficult to tell for which range the bars are associated with. I am expecting something as shown in attachment 'dojo_graph_chart_expected' where the range values are shown under each bars and not center aligned. for eg. in the attachment 1990 , 1995 are seen under the respective groups of bars which is easy to understand. I am using json object to pass the bardata to barchart. Could you please tell me what need to be done to align the labels of the x axis as required?
Change History (4)
Component: |
General →
Charting
|
Owner: |
set to Eugene Lazutkin
|
Resolution: |
→ invalid
|
Status: |
new →
closed
|
There should be an easy option for that, unfortunately there is not but this is not really a bug either as this is not designed for it (would be more of a enhancement request)
That said there are workarounds. For example something like the following:
should give what you expect? (i.e. make major ticks to have a 0 size and add minor ticks between the bars)