Someone has an example to learn how is possible to do a draggable sine function with matplotlib?
I have multiple graphs on the same figure with different axis, I need to adjust the position for every graph using the mouse, click and keeping pressed the right button should be possible to move the graph selected.
Or in alternative to do an automatic adjustment of the offset for every graph.
Related
I try to highlight a bar graph (exported from Excel) by adding an arrow at the tip and the bottom of a specific bar but it drives me nuts, that the grid at which Powerpoint orients itself results in the arrow not being exactly in the middle of the bar. Moving the whole bar graph doesn't bring a solution to this. Can I just move the arrows freely?
Hold down the ALT key while you move the shape with the mouse; that'll temporarily disable snapping to grid.
Or right click off the slide, choose Grid & Guides and turn off Snap To Grid in the resulting dialog box.
I have a chart that I am using to keep track of weekly data. It is a Pivot table with an attached graph. Every week when I refresh the data the chart moves back to the following picture.
Graph
With the Data labels shoved inside of the bottom of the chart. I Spend a bit of time every week moving all of them back down. I would like to anchor them with the upper right corner attaching to the bottom axis. The only placement option in the Pivot chart are Center, Inside End, Inside Base, Outside end. I am using inside base to get the picture I mentioned.
Here is what I change it to each week. As you can see I drag all of them down individually and try to get them to line up as best as I can by hand. But they are never perfect.
I have finally found my problem, The issue was I was using Data Labels and not axis labels.
If you are having this problem go Pivotchart tools > Design > Add chart Element > Axes > Primary Horizontal.
I'm trying to enhance user interaction with excel embedded chart objects. To be honest, nothing more of what you can currently find every where else, but this doesn't seem so true for excel charts.
In the list of chart's events I can't find the MouseWheel event, so my request is to add/simulate the MouseWheel event to an excel embedded chart object.
I googled around without success, so...
can someone of you point me in the right direction in order to accomplish the below mentioned task?
When I select/activate an embedded chart, the task is stopping the default mouse wheel behaviour (scroll or zoom the worksheet area - depending on the Ctrl key is pressed or not) and resize chart through zooming in/out X,Y axis scales by up/down mouse wheel movement
Please get a look at my other request [here]
I'm using Tableau 9.0.2 to generate graphs and I can't for the life of me figure out how to move (ideally drag, right?) the field name for my x-axis from the top to the bottom of the graph, by the units, where it should be.
I'm attaching a picture because it's probably the easiest way to make clear what I'm trying to do, given this is a question of positioning:
This Tableau graph has the field name "Iterations" at the top of the graph, not the bottom, where it should be. While this might not seem like a huge concern, it means that these graphs are not immediately exportable.
How can I move the label "Iterations" to the bottom of the graph, next to its axis?
The answer currently offered below allows for manual image modification within Tableau, which is unsatisfactory. It seems bizarre to me that the default, unchangeable behavior of Tableau goes against standard practice in graphing (labels next to labelled).
If the goal is just to get the headers and the axis label in the same place, one alternative would be to move the headers to the top of the chart (as opposed to moving the axis label to the bottom).
Go to Analysis/Table Layout/Advanced... and uncheck the option "Show innermost level at bottom of view when there is a vertical axis". This will move your Iterations headers to the top of the chart, and now everything will be in the same place.
If that's not an acceptable alternative for you, here's the only (kind of unfortunate) solution I can think of:
Place your worksheet in a dashboard.
Right click the axis label and select Hide Field Labels for Columns.
Create a text box with your desired axis label (in this case "Iterations") and place it below the chart. Your headers and your DIY, home-brewed, hacktastic axis label will now both be at the bottom.
Hide the columns axis label then enable / edit the caption within the bottom of the dashboard. Then center the value of the caption. Should look better.
Is it possible to drag and drop the shape of graphs in Excel?
I'm thinking something along the lines of:
-if I click and hold the graph I can drag it up and down
-if I click on a point on the graph and then click and hold on another point, I will drag an interval of the graph up and down
No. What you are asking for is "Interactive charting". The Excel VBA charting interface draws the entire chart based the parameters you define for it. It doesn't have an interface to manipulate the individual components of the chart thru VBA. (Something like move line vertice to new point). In addition, the points of the graph are based on spreadsheet values. So it would have to detect your mouse events over the chart, convert those movements to the scale used in the chart to reverse calculate a value and then change the associated cell in the spreadsheet. And then a graph repaint of the entire chart would be requested. This total repaint would look pretty choppy.