Gaps in axis range #396
Replies: 2 comments
-
@RalphSteinhagen I saw your reply on this issue: Surely you and I notice that this is the same problem, I tried the solution you gave to me before, but unfortunately, I'm getting the same result 3 of bars get drawn only! this is a snapshot of my test: A lot of thanks |
Beta Was this translation helpful? Give feedback.
-
hey @osaidmakhalfeh, for future issue reports, please try not to mix multiple topics into one issue, as it makes it a lot harder to follow and manage the disucussion. The feature you want to use is currently not implemented in chartfx. You would need to implement your own Axis, which can define arbitrary ticks and coordinate transforms, and also implement the visualization of the axis gap. I suggest to look at LinearAxis or DefaultNumericAxis. You would also have to come up with a way to either supply the ranges of the axis gaps to the plot or to determine them automatically (computationally expensive, axes usually do not have access to the dataset). Alternatively think about other ways of displaying your data (logarithmic plot or apply some normalisation before). I'll keep this issue open in case you want to give it a try and implement this and have further questions |
Beta Was this translation helpful? Give feedback.
-
Hello Dears,
I'm very happy while using and contributing to this library, thank you all.
I'm working on an application that reads data from a hardware sensor and re-fill the data as bar charts every two seconds. I have two problems and want to discuss it with you:
sometimes some bars not rendered!, I'm not sure why?, to be sure with that point I entered the same data array by code "static code" and unfortunately I'm getting the same result which is-> the chart does not render all bars.
here is my snapshot of the result and its input:
As you see here, I should get 17 bars instead of 14!
Because i have a good range between yValues. I'm not sure if I can jump the yAxis values to make the user feel that s/he can compare between bars easily!
I tried to simulate my expected result as you see on the following image (on the right), do not know if someone has an idea!
Beta Was this translation helpful? Give feedback.
All reactions