microsoft / powerbi-visuals-histogram

A histogram chart plots data ranges into intervals. Useful for estimating density.
Other
28 stars 32 forks source link

X-Axis Start and End boundaries are not respected #21

Open peterbud opened 6 years ago

peterbud commented 6 years ago

When specifying properties for the X-Axis, you can set Start and End. When in my example I set Startto 0 and End100, the chart X Axis displays values between -7 and 101 image

image

mattdot commented 5 years ago

Any hope of getting this bug prioritized? It's mildly bad on x-axis with a large range, but on a 0-5 scale it looks ridiculous. @uve this has been open since 2017?

helen508light commented 5 years ago

Hi @mattdot This issue has already been at work and now we are preparing new version of histogram for publishing

timon-schmelzer-gcx commented 3 years ago

Are there any updates on this topic?

helen508light commented 3 years ago

@timon-schmelzer-gcx Please pay attention on this conditions in source code: https://github.com/microsoft/powerbi-visuals-histogram/blob/master/src/visual.ts#L367 https://github.com/microsoft/powerbi-visuals-histogram/blob/master/src/visual.ts#L364 https://github.com/microsoft/powerbi-visuals-histogram/blob/master/src/visual.ts#L924

Now visual works for me on standart reports. Please attach your pbix to reproduce it

lstorer commented 3 years ago

histogram screenshot

I'm still seeing this when I try to use histogram. Is there a setting or something that I am missing?

timon-schmelzer-gcx commented 3 years ago

Hi all,

I finally found some time to fix this issue. Please have a look at my PR: https://github.com/microsoft/powerbi-visuals-histogram/pull/55 .