on 10-16-2018 7:36 AM
Hi all,
I am using Vizframe line Chart. I want to plot more than 400 points.So How to define starting and ending points or minimum and maximum scale points for the CategoryAxis(X-axis) of Vizframe Line chart. I can able to set the min and max points for ValueAxis(Y-axis). But there is no property for CategoryAxis in documentation
yAxis : {
scale: {
fixedRange : true,
minValue : 0,
maxValue : 5000
}
}
(Or)
this.getView().byId("LineChart").setVizScales({
valueAxis :{
max : 50000,
min : 0
}
});
CategoryAxis is not a scale so it is not possible to limit the number of dimension points visible on a plotArea view. The alternative is to set the starting dimension value of the plotArea view. Let's use https://jsbin.com/vofimopagu/edit?html,output to explain. Assuming:
1, "Supplier" is the dimension defined to vizFrame
2, "Supplier-50" is one of the value which I wish the view to start to be visible
you could try set chart property
plotArea:{window:{start: {categoryAxis: {'Supplier': 'Supplier-50'}}}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.