In this example https://playground.anychart.com/Cjb94yIM I have a chart with very long axis label texts.
This is all good, until the labels are rotated. Since the labels are centered, it now looks like they belong to the record next to it. I have commented out code in the example on how I want the labels to be and how I think they should be. Unfortunately, the chart does not scale properly when you adjust the position of the labels. Is that a bug? I don't know how to scale the chart correctly so that you can see everything. And so that the resize still works correctly.
Thanks ahead.
The current version of the library 8.8.0 doesn't provide a solution to meet your requirements. The rotated labels have an anchor in the label center, so a long label can cover the neighbor category. The current API doesn't provide a possibility to anchor the start of the label right in the category.
Related
In AnyLogic, The Chart title and Axis Scale values & Title are very small, Audience are not able to see in these scale values and title in presentation, We have to again redraw all charts in excel with the data provided by AnyLogic, Its a rework. Please give a feature to increase their font in AnyLogic chart.
Image of Chart in AnyLogic
If you are looking for a way to do this yourself and have full control over the chart you can create the following: The top is custom labels for the axis and the bottom is the standard AnyLogic chart
Start by disabling the Y and X-axis
Unfortunately this also removes the lines so you will need to add these yourself.
Now you are free to create your own text objects, place them where you want to, change the color, font etc.
For dates, you can also use your own date formatter
This is not possible. But you can always reduce the size of your chart (relative to the font size) and then use a view area to zoom into the chart to make the fonts look good. Not ideal but possible.
Alternatively, use the Cloud capabilities with responsive charts.
For feature requests, you should best email to support#anylogic.com.
But given that they will launch AnyLogic 9 with a completely revamped UI soon, this will likely not make it for AL8 :)
I have a line chart as it is showed bellow.
How can I make the x-axis showing off all the data (I need the chart to be in small size), for example as it is appear in the preview bar (I mean by preview bar the scrolling bar under the chart to explore the x-axis value, which I highlighted in red in the second photo). In other words, I want to see somehow the whole data of the x-axis in the chart at once without the preview bar.
I hope someone have an idea to help me out, and much thanks in advance.
I think the answer is that this is a feature, not a bug - as Sense is built to re-size and tailor the view for any screen size you lose control over the minutiae such as what parts of the chart to show.
Sense will always format itself to fit as per predetermined rules in the background.
That being said, the slider at the bottom of the chart displays the entire chart and users can expand the chart to fill the screen. So it might be an idea to instead of trying to fit Sense to your requirements to readjust your users expectations to what Sense can offer.
If you were able to see all the data in such a small chart, it would be unintelligible.
I am using FusionCharts to show a stacked 2D column chart. The positioning of the label at the top of the bar seems to be very unpredictable. It is at times inside, outside or even somewhere in between with the top border cutting off the text.
Is there a way for me to specify that I always want it to be outside and have a certain margin so that it never touches the bar?
Thanks.
Screenshot of label being cut-off
The reason for label appearing, inside, outside or overlapping is FusionCharts always try to place its label outside of the plots. But if the labels goes outside canvas, Which happens when the plot almost as high as the canvas, it tries to position it dynamically. Labels can not go outside of Canvas.
One way to fix this is to set the Y axis max value a bit higher, And that will give enough place to draw the labels outside of plots. Also this attribute placeValueInside is related to this problem.
I'm looking for a way to hide parts of a graph (namely the axes and plot) on a certain side of an axis (enclosed by the red boxes in the image below). I would like the labels to still be visible and the graph to still be scrollable.
I've tried setting visibleRange but it hides the axes for a fixed range, and doesn't quite work when the graph is scrollable.
Thanks in advance for any help.
Set padding on the plot area frame. See the Plot Gallery example app for sample code.
Just i have an idea, but i am not sure whether this will satisfy you or not.
I have used the axisContstrains property for both X and Y axis.
So the plots inside your boxes are not plotted for me. I hope this will help to this questions.
I am now using Core-plot for iPhone chart Development.
But it has some requirement i can not reach.
I am now using CorePlot 0.4, example code AAPLot to develop
Please have a look the following image, then you will know what is my problem
Thank you very much...
I really need help for this problem,
thank you
i want my result like this application
I see several questions here:
Y-axis scale: Try the CPTAxisLabelingPolicyAutomatic labeling policy on your y-axis. If that doesn't give you enough control, use a different labeling policy and use a plot space delegate to adjust the labeling parameters as the user zooms in and out.
Disappearing x-axis: Make it a "floating" axis. For example,
x.axisConstraints = [CPTConstraints constraintWithLowerOffset:0.0];
Maximum zoom level: Use the globalXRange and globalYRange plot space properties. If you need more control, you can use a plot space delegate.
Scroll bars: This isn't directly supported. You could use a plot space delegate to update the scroll bar position.