Skip to Content (Press Enter)
OutSystems.com
Personal Edition
Community
Support
Training
Training
Online Training
Developer Schools
Boot Camps
Certifications
Tech Talks
Documentation
Documentation
Overview
ODC
O11
Forums
Forge
Get Involved
Get Involved
Jobs
Ideas
Members
Mentorship
User Groups
Platform
Platform
ODC
O11
Search in OutSystems
Log in
Get Started
Back to Forums
eric wang
85
Views
3
Comments
charts
Question
Hi,
May I ask two questions here about charts?
In the first bar chart, how to make the size of the bar? I mean how to make it has the same size as the below one?
In the second chart, we have two bars to one area, but they didn`t share the same size. How to change it?
Mark Horenberg
You can add the following JSON code to alter the width of your bars.
plotOptions: { series: { pointWidth: 10 } }
So you can set the following value to the AdvanceFormat property of your BarChart.
2 replies
Last reply 18 May 2016
Show thread
Hide thread
eric wang
Mark Horenberg
wrote:
You can add the following JSON code to alter the width of your bars.
plotOptions: { series: { pointWidth: 10 } }
So you can set the following value to the AdvanceFormat property of your BarChart.
Thank you so much!
May I ask another question, in the second chart, the distance between the bars are different.
How can I set the bars and make they share the same distance?
Mark Horenberg
You have some other options in JSON. See the next code sample. You should be able to affect them with these properties. You have to play with the values a bit, to see what fits your case.
plotOptions: {
series: {
pointWidth: 10,
pointPadding: 0,
groupPadding: 0.01
}
}
All possible options for the charts can be found in the documentation of Highcharts on:
https://api.highcharts.com/highcharts
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
See the full guidelines
Loading...