I have a Visiblox chart with multiple Y-axes, different units on each axis.
The user can click any of several buttons to display data as line series on the appropriate axis.
If the user clicks on data that plots against the primary or secondary Y-axis, it's possible to zoom the plot. If they click on data that plots on an "additional" Y-axis and there is no existing data on the primary or secondary Y-axis, the plot will not zoom.
If there is existing data plotted against the primary or secondary Y-axis, the chart zooms fine.
I'm guessing this is expected behavior in Visiblox, but am I missing any way to enable zooming with data plotted only on an "additional" Y-axis?
I know I could keep track of which axes are active and change the units on them to make sure that data is always plotted first on one of the functioning axes, but the user can also remove data from any axis at will, and I'd have to replot the data any time they removed data from the both of the functioning axes, leaving only data on the "additional" axis. Possible, but messy.
Thanks in advance!
From correspondance on the Visiblox blog, this is a known issue that will be addressed in the upcoming 2.2 release of Visiblox. Thanks to the Visiblox team for responding there!
http://www.visiblox.com/blog/2010/11/zooming-panning-in-silverlight-using-visiblox-charts
Related
I want to create a control that shows a list of activities like in a gantt chart in winforms.
I don't want to use any of the non official products out there.
The diagram will have to:
Show the activities as rectangles of different colors. each activity have a start and an end date
Show an X-axis for the global time line reference (years, months, days)
Allow the user to zoom in\zoom out, changing the axis accordingly
Where should I start? I first started from scratch with an empty User Control, I can easily draw rectangle as activities but the logic of the axis and the zoom-in zoom-out feature seems too complicated to build.
An alternative could be start from a chart like an horizontal histogram and on that grid and axis draw the activities.
I currently have this issue where I am trying to hide the Y-axis of this line chart. Currently there is only the option to hide both axes in GDS.
Issue being is that the floating number at the y axis looks awkward.
Could anyone think of a work around? maybe hiding both axes and then creating a blank chart with the date values and using that as the x axis ticks.
One workaround is to draw a Shape or line over the axis and set it to a colour that blends in with the background, (although in the case above, it would cut into the first data point and data label) using Shift + movement keys for precision placement.
Google Data Studio Report as well as a GIF to elaborate:
Having independent multiple axes for each series in scientific graphs is very common condition.
The requirement is,
The graph can have more than one series. and each series is associated with separate Y axes and one X axis (Time).
E.g. Y1 axis shows temperature and Y2 axis shows pressure against Time on X axis.
Both axes may show different scales (range min - max) like temperature from 0 to 100 Degree kelvin & pressure from 300 to 900 kPa and accordingly the series will be plotted.
I am looking for open source control or freeware which can provide this feature.
I am trying to use WPF for plotting graphs and studying WPF Tookit & Dynamic Data Display for that.
Please look at FLOT example of multiple axes. I want this feature in WPF.
But I am not able to find feature of independent multiple axes in these controls.
Please help otherwise I have to drop the idea of using WPF.
Thanks in advance.
As far as Dynamic Data Display goes, I know that it is very possible to implement what you are looking for. You can always just make a new axis object and add it to the plotter's children. You can then interact and map each axis freely. The key to manipulation in D3 is the mapping, so if you have two different data sources, you can plot them on the same graph dependent on the axis that you map them to, and how you map them. Dynamic Data Display should fit your requirement.
I have a chart that will show energy generation over a day, month, or year, depending on the user's selection. To do this on a single chart, I need to be able to change the axes, series, and store when a button is clicked. I have managed to get this working, except I have the issue of the old data, series, and axes are still showing, and the new ones are just being laid on top. Is there a way to clear or refresh/redraw a chart? Or should I just split this into 3 charts, and hide/show the charts on button click?
Here is my current code for setting axes, series and store on the fly.
chart.axes.clear();
chart.axes.addAll(dailyAxes);
chart.series.clear();
chart.series.addAll(dailySeries);
chart.bindStore(Ext.data.StoreManager.lookup('dailyEnergy'));
A little late, but what's missing is this:
chart.surface.removeAll()
This isn't ideal, as you may get a flash of empty space as it destroys the previous elements, but it does avoid the hangover of old data.
i dont know what type of chart or what is dailyAxes
but i assume u want to change axes properties..hee is an example on how to do it:
Ext.getCmp('chartid').axes.get("gauge").maximum = 100;
then u need to redraw the chart after ur done:
Ext.getCmp('chartid').redraw();
I'm using the newest chart control from silverlight toolkit to plot some data. For small cases it works ok, but for bigger samples the X axis labels overlap. It would be no problem if the chart would simply omit some of the values or I could specify to just show every 10th of them ...
I couldn't find any properties providing this behavior. Any ideas?
Assuming this is a Linear axis then you can specify the interval to use via the the Interval property on the axis.
If the axis in question is Category Axis then dropping some labels may not be valuable to the user. One option is to use the LayoutTransfomer to rotate the labels to an angle reducing the width needed for each one. See this Delay Blog on the subject.