How to fix Bubble Size in Bubble Chart created using Python-Pptx - bubble-chart

I created bubble chart in powerpoint using python-pptx but not able to control bubble size. Would highly appreciate if someone can guide me.

Related

Is there a way to have moveable, protected elements in powerpoint?

Let's say I have a powerpoint with a circle, and a square. The circle has an animation attached to it, which is triggered by the clicking on the square.
Can I flatten the circle, so no-one can move it/click on it, whilst keeping the animation?
I've tried the flat pack add in, with no success. I can't find any code that does it.
Can anyone point me in the right direction/tell me I'm wasting my time?
Thanks
Sorry, that's not possible. You can lock objects, but then the animation will not be able to run. VBA is unable to change the XML to lock or unlock objects.
Here's more info about object locking: OOXML Hacking: Locking Graphics

Can we add gradient color in oxyplot graphs

I have been trying to achieve gradient color for the oxyplot graphs.
Some old blogs saying that gradient color is not supported by oxyplots. Could anyone suggest any tweaks to achieve the below kind of view?
And also any suggestions are open to which graphs can be used apart form oxyplots in xamarin.
enter image description here

VB transparent picturebox over several pictureboxes

I am currently writing a program that requires a picture box with a transparent image to go over several pictureboxes. I have looked for hours now and found nothing useful. the program is a rubiks cube solver. each square is represented as a picturebox and the cube is shown in a net form. I cant upload images as my account is new but i have included an image of a rubiks cube in a net form. now imagine a semi transparent image going over some of the squares (pictureboxes) to represent a visual guide to the rotation about to be made in the solve process. If you need more info I will do my best and upload images and add code for better clarification if needed. If this is not possible is there any alternatives that I could attempt? Thankyou
I don't think what you want is possible. I was actually trying to solve the same problem about 2 days ago and to no avail. You can't have transparency to work with multiple pictureboxes on winforms. What you need to do is draw the images using Graphics like one over the other. Use 1 picturebox and do Graphics to overlay the picture on the picturebox. Or have the main picture as the form's background image and use pictureboxes, this was what I did. This is surely easier using WPF. Alternatively... Try to check this imaging SDK.
http://www.gdpicture.com/
This might help overlaying your images.
And this too, this is basically the one using 1 picturebox and overlaying using Graphics.
VB.NET Winforms: Overlay two transparent images

Draw Graph in Blackberry

i want to create one app which draw different charts like pie chart, line chart, mixed chart etc.
Is the any API available to do so.If yes then please give me link.
And of no then is there any alternative for that.
AFAIK, there is no such chart drawing BB APIs right out of the box. So you should create your own custom ChartField by extending Field. Override Field.paint(Graphics graphics) to draw whatever you need. Graphics API offers a lot of drawing methods, so it is definitely doable.
RIM have a knowledge base article about drawing graph fields:
http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800505/800345/How_To_-_Create_graph_fields.html?nodeid=1889634&vernum=0
This shows how to create different tyes of graphs such as pie, line, bar.

Using System.Drawing to make a selection tool, and cropping an image in vb.net

If i wanted to crop an image in VB.net, how would I go about doing it? I am trying to let the user drag out the box they want (system.drawing.rectangle), and it will automatically remove the edges surrounding the box.
My first problem is primarily the fact that I cannot make the system.drawing.rectangle visible. It is not displaying at all, I am setting its location and height programmatically, but nothing is showing up. I know there is probably something fairly obvious I am missing...but I cannot seem to find it.
My larger issue, however, lies with the cropping itself. I cannot find any crop methods, at all. Is there a hidden one I am missing? Or must I code it myself? How would I go about doing this? It ought to be able to output to a bitmap image object.
Thanks for the help, I am surprised this hasn't been asked on here before....
Regarding your first problem: a Rectangle isn't by itself visible. You have to draw it on your canvas using the Graphics object's DrawRectangle(...) method. For drawing a selection tool, you'll want to set your Pen object's DashCap and DashPattern properties.
To "crop" an image, you basically want to take the portion of a larger image delineated by a smaller Rectangle, and turn it into a new Bitmap. This can be done using one of the 30 overloads of the Graphics object's DrawImage(...) method. You can either keep the cropped portion in its original dimensions (resulting in a smaller Bitmap than your original), or you can "blow it up" to something like the original image's size. If you do the latter approach, it is usually a good idea to set your Graphics object's InterpolationMode property to HighQualityBicubic (I think that's the one, anyway), since the default InterpolationMode is pretty crappy.
There are a number of different ways of rendering images in .Net - it might help if you posted some of your code, along with an explanation of the exact problems you're running into.
Here is another answer with a link to a sample app (and source code in C#, sorry) that may help you get started.
There are a number of articles on these topics on CodeProject:
Pick your favorite flavor (though I encourage you to check out the C# projects - it shouldn't be too hard to convert).
VB
Image Cropping with Image Resizing Using vb.net
C#
Cropping Images
An Easy to Use Image Resizing and Cropping Control
Image Processing using C# (see the Cropping section - I was able to use this code in one of my projects)
WPF/C#
WPF Interactive Image Cropping Control
A Photoshop-like Cropping Adorner for WPF