Moving X-axis value by -0.5 - clustered bar graph - .js

Stimulsoft Reports.JS discussion
Post Reply
cleveland.rouge
Posts: 9
Joined: Thu Mar 21, 2019 4:03 pm

Moving X-axis value by -0.5 - clustered bar graph - .js

Post by cleveland.rouge »

Hi Support,

Do you know whether possible to move the x-axis value by -0.5 to the left? We are creating a calls per hour report and we have hours along the bottom and number of calls on the y-axis.

I have attached the image but what we are trying to achieve is for the x-axis to be at the start of the bar. This is because the calls that are being counted are between the two values e.g. between 8 and 9.

Is there any way of achieving this? 2016.3.6 (JS)

Hope you can help.

Kind regards,
Cleveland
Attachments
Report examples.JPG
Report examples.JPG (45.27 KiB) Viewed 1920 times
Lech Kulikowski
Posts: 6244
Joined: Tue Mar 20, 2018 5:34 am

Re: Moving X-axis value by -0.5 - clustered bar graph - .js

Post by Lech Kulikowski »

Hello,

Please try to use Step property.

If the issue still present, please send us your report and necessary result for analysis.

Thank you.
cleveland.rouge
Posts: 9
Joined: Thu Mar 21, 2019 4:03 pm

Re: Moving X-axis value by -0.5 - clustered bar graph - .js

Post by cleveland.rouge »

Hi Lech,

Thank you for getting back to me.

Unfortunately, the step property doesn't achieve quite what I am looking for. I have played with step and also changing the ranges but unfortunately it seems I am unable to move the bars or x-axis.

In reference to the picture above I am looking to shift the x-axis to the left of the bars. e.g. the 8 on the x-axis should be to the left of the first bar in the chart. Do you know whether this is possible?

Hope you can help.

Kind regards,
Cleveland
Lech Kulikowski
Posts: 6244
Joined: Tue Mar 20, 2018 5:34 am

Re: Moving X-axis value by -0.5 - clustered bar graph - .js

Post by Lech Kulikowski »

Hello,

Please send us your report and necessary result for analysis.

Thank you.
cleveland.rouge
Posts: 9
Joined: Thu Mar 21, 2019 4:03 pm

Re: Moving X-axis value by -0.5 - clustered bar graph - .js

Post by cleveland.rouge »

Hi Lech,

What is the best method/type to export to? And How? I can export via pdf/excel etc but presuming there is a better type/way to export.

Hope you can help.

Kind regards,
Cleveland
Lech Kulikowski
Posts: 6244
Joined: Tue Mar 20, 2018 5:34 am

Re: Moving X-axis value by -0.5 - clustered bar graph - .js

Post by Lech Kulikowski »

Hello,

Sorry, maybe we did not exactly understand your question. Which export do you mean?

Thank you.
cleveland.rouge
Posts: 9
Joined: Thu Mar 21, 2019 4:03 pm

Re: Moving X-axis value by -0.5 - clustered bar graph - .js

Post by cleveland.rouge »

Hi Lech,

Sorry Im not quite sure on how best to send you this report? Whats the best way to export? I have attached an image above with the data showing and the problem mentioned.

The bottom is just a generated series of 1 to 24 and then the stats are calls during that time and group by the extract of hour from the start time.

Hope you can help.

Kind regards,
Cleveland
Lech Kulikowski
Posts: 6244
Joined: Tue Mar 20, 2018 5:34 am

Re: Moving X-axis value by -0.5 - clustered bar graph - .js

Post by Lech Kulikowski »

Hello,

We need your report template and test data in any format - XML, JSON, CSV that allow to analyze your report and data and try to find a solution for you.

Thank you.
Post Reply