charts_flutter How to remove commas in y axis number values - flutter

I am using charts_flutter package. How can I remove those commas in y-axis values? For example, instead of 1,720 I want to have 1720.

Actually, they are integer values and you are looking for turnOffGrouping method of int. Or, you can customize your GROUP_SEP by declaring your own NumberSymbols.

Related

How to use a range instead of a single value for an axis tick in Tableau?

I don't want to mess with the graph itself, but I want to change the axis tick so that it reads a different value. Right now my axis looks like 0, 1, 2, 3....24. I want it to look like: 0-1,1-2,3-4...23-24.
Is it possible to just change the text without changing my graph?
Thanks in advance!
One way to implement this would be by converting your column in to a discrete value and changing the alias for value 0 to 0-1, 1 to 1-2... and so on.
Hope this helps.
Another option is to create a calculated field and return the range based on the values. This gives you more control if you would like customize your range in the future. There will be an issue with sorting which you will need to work out.

Rounded values in iOS-charts

I'm using ios-chart library, when I set this:
set1.drawValuesEnabled = true
in LineChartDataSet, my values are rounded as Int value (Example: 5.4 to 5)
This happen only when a get the values from api service, I convert the values of my array from String to Double
I'm printing the values before I assign to dataset and the values are correct. I don't want rounded values
Thanks for any help
use custom valueFormatter in dataSet objects.

Area Chart with non-mixed positive and negative axis

Good morning!! I'm new to javafx charts, what im trying to do is the following, but in a single chart:
http://i.stack.imgur.com/8uF5k.jpg
The input are two arrays, one with positive values, and the other with negative values. When I mix both arrays into a single chart, this is what I get:
http://i.stack.imgur.com/dOV12.jpg
I also tried to set the color of the second data set to transparent color, with no luck.
Any ideas? Thanks!
As James_D mentioned, my problem was solved using the new prerelease of java! now it's paining the negative side of my area chart properly!

How to set series expression when you do not have any series when creating bar chart in iReport?

I have created a bar chart in iReport Designer 5.1.0. I want to show some ips at x axis and the occurrence of each of these ips at y axis. The bar chart must have a single color but when I run it bars have different colors with each other. I think series expression has to be empty, and I have to put $F{ip} in category expression and $F{occurrence} in value expression, but series expression has to be filled because it is not optional.
It would be great if someone can help me.
In your series expression, using quotes you can just specify something like a name or anything relative to the chart. For e.g,"Ip v/s Occurrence". Basically have a string value in there. This will be displayed as a legend. You would get the chart in single color.
change the orientation again back to vertical. Click the barchart and choose the properties to be orientation:vertical.
Hope thats what you meant

Stop Android Graph View from rounding the x-axis

I'm using graph view in my project and got it working just fine. However I don't like the x-axis values. The values I'm passing are 0,0.5,1,1.5,2,2.5...all the way to 23.5. I would like the graph to show every x-axis value on the grid and not rounded values of 0,3.4,6.9,10.3, 13.7 etc. Is there a way to force it to not round and use the x values provided?
the labels are have fix positions and shows the exact value at this point. It seems, that you want to have the another count of labels or other positions. In the current GraphView version you can set set count of labels. When you configure it in the correct way, you should see labels in 0.5-steps.
Have a look at GraphViewStyle#setNumHorizontalLabels