Comments (1)
Hi @NikitaShchienko.
Unfortunately, I can't reproduce the first case. Works perfectly for me:
Incorrect data order in pie chart.
Even your screenshot displays that the order is correct. Could you please elaborate on what is wrong?
Regarding the formatter problem. Serial Chats itself perfectly supports the dateFormats
settings of the categoryAxis
element. Pay attention that it's not a single value but an array for different periods like Day, Month, etc. See related docs: https://docs.amcharts.com/3/javascriptstockchart/CategoryAxis#dateFormats
In case of Pie chart, you use dates as titles, i.e. date values are sent as text and treated as text (that is correct since they are used as titles). So, the dataProvider
configuration, in this case, looks as follows:
{
...
"dataProvider": [
{
"dateSale": "May 7, 2020",
"amount": 1
},
{
"dateSale": "May 8, 2020",
"amount": 2
},
{
"dateSale": "May 9, 2020",
"amount": 3
}
]
}
This means that date values must be formatted to the correct text representation before they are sent to the client-side since Pie chart itself can't format text.
So, it appears that the problem in the Reports addon that doesn't correctly convert the formatter settings to the correct chart configuration.
from charts.
Related Issues (20)
- totalText attribute of ValueAxis is not loaded from descriptor
- Support LocalDate and LocalDateTime in Charts
- Only one GoogleMap widget is loaded if window contains two of them
- Impossible to set map language HOT 1
- Non-editable PivotTable with default aggregation does not apply locale formats
- Support ability to use Plotly renderers
- AmCharts data export should use localized values by default
- Method for close infowindow is not working HOT 2
- Exclude service fields from AmCharts exported data
- PivotTable performance HOT 1
- The graph's alphaField attribute is ignored by GanttChart
- Editable PivotTable calculates incorrect position for property value dialog HOT 1
- Add description to ShowPivotAction for Studio HOT 1
- Add missed chart listeners HOT 2
- MapInitEvent and route are invoked with delay
- System property $k is appeared when PivotTable has cell click listener HOT 1
- PieChart item captions are misaligned after resizing browser tab
- PivotTable does not support LocalDateTime
- GoogleMap deprecates loading API
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from charts.