Is there a way to rotate an image symbol in the legend widget??
I'm using a few vertical lines in my graph to show the location
of a leak on a chart. The legend shows these lines as horizontal
which is fine but, it would be better to rotate it and show
a vertical line. That would be wayyyy more intuitive to the user.
Thx!!
John
Currently it is not supported.
Related
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.
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 am creating a MapBox project with a geoJson vector layer. I have been using the following example as my guide.
https://www.mapbox.com/blog/neighborhood-mapping-with-dynamic-vector-data-layers/
When I hover over any geoJson feature the stroke is changed to 2 pixels. However the stroke gets clipped by the neighboring features sometimes. I believe this has something to do with how the different features are stacked. So if I hover on a feature which is stacked near the bottom the neighboring features are covering that stroke.
Here is an example...
http://www.vandam.com/chpc/inconsistent_stroke.jpg
Is their a way to set the stroke to be inside of the polygon or a way to bring a feature to the top of the stack when hovering?
Thanks for any help!
By adding the function
layer.bringtoFront();
after setting the hover styling your polygons will come to front.
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.