Legends not displaying as of bar colors - iphone

I'm using core-plot0.4 for drawing waterfall graph. I have used barFillForBarPlot for coloring bars, but in legends(CPTLegend) its not displaying correctly.

That's a Core Plot bug. Please report it on the Core Plot issue tracker.

Related

Customizing a 3D Plotly Visualization with a slider bar

I've been exploring Plotly recently. I've made a contourslice of a 3D Value function using the Plotly MATLAB API's fig2plotly(). However, I've been researching how to further customize the plot, and I can't figure out how exactly I'd go about doing this.
My current plot is here:
https://plot.ly/~txizzle/81
It's basically different contours stacked on top of each other.
My goals:
I'd like to add a slider bar that will show just one contour slice at a time (maybe by changing visibility). Ideally, I could fix an eagle-eye view from the top, so moving the slider will make it appear as if the plot is 2D.
My thoughts on how to approach this:
1) https://plot.ly/javascript-graphing-library/range-slider/ seems to be an HTML/JS implementation of a custom slider bar that changes the x-axis range of a line chart. From what I've read, this approach seems to be Node.js only. Ideally, I'd like to implement something in just HTML/JS/JQuery/D3.js.
2) Alternatively, I could use a 2D contour plot instead of a 3D contourslice:
https://plot.ly/49/~txizzle/
However, now, I will need to have many of these contour plots. I'm not sure how I would switch between different contour plots with a slider.
My Questions:
1) How do I customize Plotly plots? Is this possible without relying on Node.js? I don't want to just embed the plots using Plotly's given auto-embedder, because it abstracts everything away.
2) Should I do a contourslice or many different contour plots?
3) How do I add a slider bar to switch the visibility of different contour slices, or how do I add a slider bar to switch different plots entirely?
Thank you for your time! Looking forward to explore Plotly more.
Since you used the MATLAB library to generate the plotly figure, you can add slider effects by embedding the plotly figure as an iframe in an offline HTML doc, then using Plotly's postmessage API.
Here's an example:
https://plot.ly/matlab/range-slider/
postMessage API:
https://github.com/plotly/postMessage-API

how to draw a bar graph with tow y- axis in iOS?

I am using core-plot framework for drawing graphs. But I need to draw two bars with two y-axis. Please help providing sample code/example links.
Thanks in advance.
For your requirement this bellow link is very useful to you..also in this example many graphs and charts available
MIMChart-Library
and this tutorial with core-plot library
how-to-draw-graphs-with-core-plot-part
using-core-plot-to-draw-line-graphs
i hope this help you..
The "Axis Demo" in the Plot Gallery example app included with Core Plot shows how to do this. You create another axis and add it to the axes array of the axis set. The secondary y-axis can share the same plot space as the other axes or be assigned to another plot space if it needs to have a different scale.

WaterFall in CorePlot

How to plot waterfall chart using coreplot in ipad.I am able to draw pie chart and other chart but not getting way to draw it. please share if any one have working example it will be very helpfull
Use a bar plot. Set barBasesVary to YES on the plot and return base values from your datasource in addition to the usual location and tip values.

Core Plot - Hide graph beyond one side of axis

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.

Dojox charting legend image rotation

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.