Hi I want to remove the border of jfreechart's chartpanel. Here is the image of that graph panel
How to remove that border's little space?
Please help me.
Thanks in advance...
You need to set the AxisOffset
CategoryPlot plot = (CategoryPlot) chart.getPlot();
plot.setAxisOffset(RectangleInsets.ZERO_INSETS);
plot.setInsets(new RectangleInsets(0,0, 0, 0));
//for parameter
//North,west,south,East
Related
I want to add padding to an AdaptiveContainer and tried to use Spacing = AdaptiveSpacing.Padding but this seems to have no effect. Does anyone know what this flag supposed to do?
Hope someone could help me how to add a border(red) like below. This is a databar chart. I am adding a border on the properties but it shows border to all corners. I can't specify it to only one corner.
Design View
If it's really not possible. can someone suggest other solution? It should be dynamic too. It should be aligned with the blue ones. Thanks
Not Sure why its not working for you.. its a straight forward
Set BorderStyle: Default None & Left:Solid
BorderColor: Red
Sorry, I can't see the image uploaded with Question, due to some firewall .. you can try with above steps
Is there anyone know how to make border for label of progress bar in action script 3? I tried to setStyle("borderColor",#ff0000) but it's not success.
In the example code of the Documentation I see that styles are initialized with the notation 0xAAB3B3.
I would suggest to change the color in your function to 0xff0000.
The 0x means that it's a Hexadecimal number.
You can change the border color of the label of a mx.controls.ProgressBar component using mx.core.mx_internal like this :
progress_bar.mx_internal::_labelField.border = true;
progress_bar.mx_internal::_labelField.borderColor = 0x0000ff;
Hope that can help.
I'm noob in css3 and I want create one div that had gradient from left to right.
I want this gradient start from white to black and I don't know how to create it? please guide me about it.
Go here http://www.colorzilla.com/gradient-editor/ and play with the available gradients by selecting different filters, rgb values. It is a good start.
From here you can generate :
http://ie.microsoft.com/testdrive/graphics/cssgradientbackgroundmaker/
https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Using_CSS_gradients
I am attempting to add custom labels to a map such that the labels are visible on top of the clusters I created using MarkerClusterer. I set the zindex of the labels to 1000. How do I set a zindex on a cluster. I know how to do it with a marker but am not sure how to apply a zindex value to each of my cluster icons. I'd appreciate any help with this.
Thanks,
G
Thanks for the hint. Got it to work myself:
var pane=this.getPanes().overlayMouseTarget;
You could try to add your custom labels to a map pane that sits above the clusters.
See http://code.google.com/apis/maps/documentation/javascript/reference.html#MapPanes