You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
Surely you and I notice that this is the same problem, I tried the solution you gave to me before,
"ErrorDataSetRenderer::setPointReduction(boolean)"
but unfortunately, I'm getting the same result 3 of bars get drawn only!
I tried to put fake data, like "dataSet_Default.add(21, 0);", and that solves the issue, bar number 4 got drawn, but at the running time there will be new data set, so my dummy data will not work!
this is a snapshot of my test:
A lot of thanks
wirew0rm
changed the title
Can not draw the barChart data easily, some of it missing?!
Gaps in axis range
Sep 29, 2020
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.
I will only answer the second question on this issue, as you already said that the other one is closely related to #265, and should be further discussed there. I also changed the title of the issue to reflect this.
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
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!
The text was updated successfully, but these errors were encountered: