Platform
Learn
Community
Support
Partner Center
Sign up
or
Log in
logout
Account Settings
Profile
messages
Messages
logout
Logout
Platform
Home
Downloads
IPP
Licensing
Project Sizing
Learn
Training
Documentation
Evaluation Guide
What's New
Community
Home
Forums
Forge
Ideas
Members
Support
Partner Guide
Resources Library
Opportunities
Account Management
Sign up
or
Log in
Home
Forums
Forge
Ideas
Members
Dear ,
What would improve your OutSystems Community experience? Let us know by taking this 2-minute survey.
Pick up the survey
Community
›
Forums
›
Technology & Integration
Combo charts
Community
›
Forums
›
Technology & Integration
Combo charts
New Post
New Post
Audrius Taulavicius
Posted on 2015-06-16
Audrius Taulavicius
Rank: #2526
Posted on 2015-06-16
charts.oml
Hello, I am trying to create combo chart, but I have some questions. I am attaching oml with my example.
First of all data is not desplaying correctly. I have three DataSeries: 'Target', 'Potential' and 'Accepted Ordered'.
In chart 'Target' displaying where should be 'Accepted Ordered' and 'Accepted Ordered' displaying where should be 'Target'. What I am doing incorrect?
Kilian Hekhuis
mvp_badge
mvp_label
Posted on 2015-06-16
Kilian Hekhuis
mvp_badge
mvp_label
Rank: #9
Posted on 2015-06-16
Solution
charts.oml
Hi Audrius,
There's a few things to remark. First, in the SQL1 query, you have a GROUP BY on Label and DataseriesName, but since these are all unique, it doesn't make much sense. Also, you are SUMming Tooltip, but Tooltip is a Text attribute, not a number, so there's needless conversions going on that could harm performance if you have a larger data set (and they are equal to Value anyway).
That said, the reason that '2014-12' is not in the right place seems a platform bug; it seems the platform wants the datapoint of each series consecutivly, or it starts doing fishy things. So changing your sort order to
[DataSeriesName]
,
[Label]
.
Then there's the issue about the incorrect display of some of the series. This is caused by incorrect use of the
AdvancedFormat_Init
. What you have specified indicates that the first series is to be called "Target", and it should be a spline, instead of what you want, the Target series to be a spline. What you should use instead is the "DataSeriesFormat" parameter of the AdvancedFormat_Init action, specifying the series name and JSON for that series.
I've attached an eSpace that shows the changes.
Solution
Audrius Taulavicius
Posted on 2015-06-17
Audrius Taulavicius
Rank: #2526
Posted on 2015-06-17
Solution
Thank you for explanation it works now.
Solution
Quick Reply
attachment
Choose File
No file chosen
Submit
Login to reply
New Post
Available Forums
Technology & Integration
News and Announcements
Forge Discussions
Meta
Community Quick Guides
Usability
Installation Troubleshooting
Personal Environment Troubleshooting
Forum Notifications
Email Digest Settings
Loading...