JFreeChart and 1000 points!!!!!
Hi everybody !!!!
I would like to display on the graph 1000 points. I display with the method :
dataset.setValue(b, composant, ""+j);
I know that there are a method called :
dataset.addSeries(series);
But I don't know how to use it. Have you got any example of source?
Thanks by advance!!!
Is someone have an idea, how I can realize that?thanksI'm pretty sure that JFreeChart comes with something called "an API". That's some magic stuff that explains what certain methods do. You should try to read it. And if it's unclear, I'm sure there is a JFreeChart forum somewhere to help you.
Similar Messages
-
Hi coders, I have implemented a line chart from the JFreeChart and have got it working nearly how i want. The only problem i have now is that there are 2series using a line and 1 series using points, i was wondering if anyone knew how i could change the colour of the individual series and also the type of point or line they may have.
public ChartPanel allAlgorithm()
final XYDataset alldataset = createDatasetLine();
final JFreeChart lineGraph1 = createChart(alldataset);
panel6 = new ChartPanel(lineGraph1);
return panel6;
* Creates a sample dataset.
* @return a sample dataset.
private XYDataset createDatasetLine() {
XYSeries series0 = new XYSeries("Straight Comaprison");
XYSeries series1 = new XYSeries("Minimum Edit Distance");
XYSeries series2 = new XYSeries("Longest Common Sequence");
int users = 1;
resultsArray = results.getResultSet();
//assign the results data to the ArrayList
int totalFile = resultsArray.length;;
//a for loop to returnt he usernames from the ArrayList and also to
//return the data from the 2D Array
for (int i = 0; i < resultsArray.length; i++){
String x = StraComp[0];
String y = MinEdit[i][0];
String z = Lcs[i][0];
//System.out.println("Total File Size"+totalFile);
if(x.equals("XXXX")){
//do nothing
}else{
//changes the value to a double
double dbX = Double.parseDouble(x);
double percetX = (totalFile/dbX) * 100;
if(percetX >= 100){
percetX = 100;
series0.add(percetX, users);
if(y.equals("XXXX")){
//do nothing
}else{
//changes the value to a double
double dbY = Double.parseDouble(y);
double percetY = (totalFile/dbY) * 100;
if(percetY >= 100){
percetY = 100;
series1.add(percetY, users);
if(z.equals("XXXX")){
//do nothing
}else{
//changes the value to a double
double dbZ = Double.parseDouble(z);
double percetZ = (totalFile/dbZ) * 100;
if(percetZ >= 100){
percetZ = 100;
series2.add(percetZ, users);
users++;
XYSeriesCollection alldataset = new XYSeriesCollection();
alldataset.addSeries(series0);
alldataset.addSeries(series1);
alldataset.addSeries(series2);
return alldataset;
* Creates a chart.
* @param dataset the data for the chart.
* @return a chart.
private JFreeChart createChart(final XYDataset alldataset) {
// create the chart...
final JFreeChart chart = ChartFactory.createXYLineChart(
"All Algorithms Together", // chart title
"Number of Lines", // x axis label
"Users", // y axis label
alldataset, // data
PlotOrientation.VERTICAL,
true, // include legend
true, // tooltips
false // urls
chart.setBackgroundPaint(Color.white);
// get a reference to the plot for further customisation...
final XYPlot plot = chart.getXYPlot();
plot.setBackgroundPaint(Color.lightGray);
plot.setDomainGridlinePaint(Color.white);
plot.setRangeGridlinePaint(Color.white);
final XYLineAndShapeRenderer renderer = new XYLineAndShapeRenderer();
renderer.setSeriesLinesVisible(0, false);
renderer.setSeriesShapesVisible(1, false);
plot.setRenderer(renderer);
// change the auto tick unit selection to integer units only...
final NumberAxis rangeAxis = (NumberAxis) plot.getRangeAxis();
rangeAxis.setStandardTickUnits(NumberAxis.createIntegerTickUnits());
return chart;I would try posting to the JFreeChart forum. They would probably have the best knowledge and maybe someone there may have done it before.
http://www.jfree.org/phpBB2/index.php
Darren -
1000 points redeemed, $20 reward cert missing?
Today 1000 points were automatically redeemed on my account but the $20 cert is still missing. Looking for help please!
Hi Sharkey1337,
I hope you had a great weekend.
A certificate should generally be available within minutes of the points being converted; however, if for some reason a certificate is not available right away, then it should be within 24 hours. I pulled up your My Best Buy account and I do see that you currently have an active $20 certificate. Please send me a private message if you are still unable to access that certificate, by clicking on the blue button in my signature, and I will see if I can provide you with the certificates 10 digit ID.
Thank you for posting to the forum and for being a My Best Buy member!
Derek|Social Media Specialist | Best Buy® Corporate
Private Message -
i would like to Congratulate Ravi Rana on reaching 1000 points. Effort from people like you keeps this forum going.
Thanks for all the help
ZaidHey Tracy,
Congrats that you passed 150 and move forward to 1000
Good job....Take care
Habeeb -
what is difference between distribution list and share point group? Can we add distribution list into person and group column of share point list?
there is a workaround you can try, create audience and add DL to them and deal with the audience or convert DL to groups
https://social.technet.microsoft.com/Forums/en-US/02f0d773-8188-4d94-a448-0c04d838b0cf/distribution-lists-in-sharepoint?forum=sharepointgenerallegacy
Kind Regards,
John Naguib
Technical Consultant/Architect
MCITP, MCPD, MCTS, MCT, TOGAF 9 Foundation
Please remember to mark your question as answered if this solves your problem -
Function Modules for creation of characteristics and Measurement Points
Hello everybody
I'm new in ABAP (trainee) and especially the use of characteristics. I'd be very happy if somebody could help me :).
Can anybody out there with some experience in creating characteristics and measurement points tell me how to create them with function-modules or by changing database tables?
I'm happy about every hint and ready to give some reward points.
Best Regards,
SteffenFM and TABLES
http://72.14.235.104/search?q=cache:71IXBMWcX_8J:reflexcontracts.co.uk/SAP_R3_QUICK_REF.xlsupdatetable+tse05&hl=en&ct=clnk&cd=1&gl=in
FUNCTION MODULES
http://www.erpgenie.com/abap/functions.htm
http://www.sapdevelopment.co.uk/fmodules/fmssap.htm
http://www.erpgenie.com/abap/index.htm
http://www.geocities.com/victorav15/sapr3/abapfun.html
Rewards if useful..........................
Minal -
Calculation of Safety Stock and Reorder Point under Forecast Model T
Hi Gurus!
Happy Holiday!
I would like to ask for your assistance on how the the safety stock and reorder point was calculated with the following values available. I would really appreciate it if you could give me details on the calculation.
Below are the values:
Basic data
Forecast date 01.12.2009 Unit CTN
Forecast model T Service level 0.0
Period indicator M Paramtr profile
Control data
Initialization Tracking limit 4.000
Model selection A Procedure selection 2
Parameter optimizatio Optimization level F
Alpha factor 0,10 Beta factor 0,10
Gamma factor 0,00 Delta factor 0,30
Basic value 5.464- Trend value 5.603-
MAD 4.758 Error total 4.722
Safety stock 1 Reorder pnt. 1
No. of values
Consumption 6 Forecast periods 1
Initial. periods 0 Fixed periods 0
Periods per season 12
Historical data
Period Original Corrected value
11.2009 3.000 3.000
10.2009 0.000 0.000
09.2009 0.000 0.000
08.2009 9.000 9.000
07.2009 21.000 21.000
06.2009 20.300 20.300
Forecast results
Period Original Corrected value
12.2009 0.000 0.000
Appreciate your assistance!
Thank you and Happy Holidays!
JiSweth, you are asking for consulting, and in my opinion it is way beyond what can or should be reasonable to achieve in such a forum. You are asking complex questions, that most probable have more than one possible answer.
I suggest that you get on-site help from a knowledgeable and experienced consultant. These are crucial business issues, and should be dealt seriously. -
Safety stock and Reorder point calculation in inventory planning
Hi,
How System does the calculation of own safety stock, and Reorder point, maximum safety stock level at parent and child location while running inventory planning services in SAP APO SPP. does anyone about the calculation please let me know
Regards
PuneetHi,
How System does the calculation of own safety stock, and Reorder point, maximum safety stock level at parent and child location while running inventory planning services in SAP APO SPP. does anyone about the calculation please let me know
Regards
Puneet -
Maps program does not work. In standard it only shows a grid. If I ask for a route it shows start and end point and three route boxes but nothing else. It does show directions. If I switch to hybrid it shows to routes but no roads. Background is a blur.
Do you have a question? This is a user to user help forum. Apple is not here only other users like yourself. You don't report problems to Apple here.
By the way, it might help if you indicated where you are located.
To complain to Apple use http://www.apple.com/feedback/ipad.html -
Goods Recipient and Unloading Point on an Blanket purchase orders
Hi,
I am trying to maintain value in the fields Goods recipient and Unloaing point in an account assigned purchase order or purchase requisitin. However when I select item category B (Limit) these fields are greyed out.
I know that these fields are driven from the account assignment category fields slection. I checked in configuration. In configuration it was found that these two fields are configured as optional. Still I am unable to identiy which config derives this fields selection.
If any one of you faced this weird situatioin or do I missing any thihg here..?Please let me know
Thanks
UamakanthHi Uamakanth,
Did you get to a resolution on this one? I am having the same problem.
Let me know...
JC -
Project Server 2013 Excel Services and Perfomance Point reporting
Hi
Is there a way to show Enterprise Fields that consists of multiple values in Excel Services and Performance Point reports. It seems to be a big product limitation that this cant be done out of the box
thanks
Willem
WillemHi Willem,
Indeed multi values custom fields are tricky to be managed through reporting.
Here is a post done by a friend on our blog about
multi value custom fields in Excel reporting.
Hope this helps,
Guillaume Rouyre, MBA, MVP, P-Seller | -
Problem - Title Cards in Vid Track 2 Skewing In and Out Points in Track 1 ?
Hi,
Vast confusion. I'm working with edits in a timeline, created from video files that are "Avid Meridien Compressed" Quicktime Files. These are files that I exported from Avid. They are 24P files. The timeline has been set to 23.97, and everything in Video Track 1 makes sense, no problems, no render line because the project compression settings have been set to "Avid Meridien Compressed".
Ok, so here's the problem. I am creating title cards with the video generator in FCP, and trying to super them into my edits by placing them into Video Track 2. But the moment I drop a title card into Video Track 2, (over an edit I have made in Video Track 1), there is a SHIFT in the in and out points of the source video in the timeline. For example, let's say an edit in my timeline has a source in of 02:02:30:17 and an out of 02:02:35:17. The moment I try and drop a title card over this edit in Video Track 2, the source video in Track 1 shifts, so it now begins at 02:02:31:29 and ends at 02:02:36:29.
It is as if the title cards refuse to conform to the 23.97 timeline, and are overriding the source video edit decisions in Video Track 1.
Does anyone have any thoughts on why this is occcuring? Does anyone have any suggestions for a remedy? BTW, I have also tried creating title cards in photoshop and dropping them in, but with the same result: it changes the source time code edits by shifting them later into the source video.
Thanks,
MtbakerstuUpdate!
While I was never able to get the Vid Track 2 title cards to stop shifting the edit decisions in Vid Track 1 when using the preset that is in tandem with the actual source video files (Avid Meridien Quicktimes at 23.98), I did find that by changing the Sequence Setting to DV/DVCPRO50 NTSC at 23.98 that I could drop the titles into Vid Track 2 successfully without any skewing of edit decisons. You now have to render the timeline, but a quick test of an MPEG2 export showed that there's no denigration in image quality with using this setting.
So that's the scoop. It seems that there's no pure solution to this issue. Perhaps if there's a way to generate title cards out of Avid that are importable into FCP, that would do the trick, but I haven't taken my research that far.
Thanks for your help!
Stuart -
Business Intelligence and performance point problem
Hi Everyone,
Please does anyone know why creating a dashboard from a Sharepoint list is such a hassle. I have configured performance point services, a secure store and a business intelligent website that has a data connection library and Performance Point content
list . Unfortunately anytime I try to use dashboard designer to create a new data source and specify the site settings(using unattended account method) I can't save it. It gives me an error claiming that I either don't have permissions or the data source
doesn't exist.
A search around the web for answers doesn't seems to solve my problem as it suggests that the problem is associate with many things which I'm not clear about. Please could someone who is good at this at least tell me the critical things to check and the
clearest way to set this up.
Thanks,
DominicHi Dominic,
According to your error " I either don't have permissions or the data source doesn't exist", it should be related to the unattended account permission.
Once the unattended service account has been configured, you must grant that account access to your data sources:
For SQL Server data, the account must have a SQL logon with db_datareader permissions on each database that you want to access.
For SQL Server Analysis Services data, the account must have read access to the cube or an appropriate portion of the cube, depending on your needs.
For Excel Services data, the account must have access to the Excel workbook in a SharePoint document library.
For data in a SharePoint list, the account must have read access to the list.
Reference:
https://technet.microsoft.com/en-us/library/ee836145.aspx
Also you can have a look at the blog:
http://www.chrismcnulty.net/blog/Lists/Posts/Post.aspx?ID=74
https://yossidahan.wordpress.com/2012/08/14/cant-get-ssas-databases-to-appear-in-performance-point-dashboard-designer-check-you-adomd-net-version/
Best Regards,
Eric
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
I want my users to be able to login with same username/password in my reporting system as in they use for their email, office 365 and share point.
Since the web is in PHP i found some ideas that use CURL to get the cookie but i['m wondering if there is another way to do that?
All API show cases and docs that i looked are so confusing that i can't even figure out if it is possible at all and how. It would be great to be able to reset passwords through my system and also to create new users. So that i have all centralized in one
place.Hi,
Here is an article which describes how to create and configure a single tenant PHP application that uses the single sign-on capabilities of Azure Active Directory.
http://azure.microsoft.com/en-us/documentation/articles/active-directory-php-web-single-sign-on/
A sample that shows how to use Azure Active Directory and single sign-on for PHP web sites is available at
https://github.com/WindowsAzure/azure-sdk-for-php-samples/tree/master/WAAD.WebSSO.PHP
Regards,
Rebecca Tu
TechNet Community Support -
Hello. I am trying to change the colors on my ical. I have been able to select a calendar group, click "get info" and then "other" in the color options and which point a a lot of color options are available. HOWEVER, I can't seem to select the color. I click on a new color and press enter and nothing happens...not sure what I am doing wrong.
What do you currently see?
Can you attach a screenshot?
*http://en.wikipedia.org/wiki/Screenshot
*https://support.mozilla.org/kb/how-do-i-create-screenshot-my-problem
Use a compressed image type like PNG or JPG to save the screenshot.
Do you have the menu bar?
*Press the F10 key or tap the Alt key to bring up the hidden Menu bar.
Do you have any toolbars visible at all?
Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
*Do NOT click the Reset button on the Safe Mode start window.
*https://support.mozilla.org/kb/Safe+Mode
*https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
Make sure that you do not run Firefox in full screen mode (press F11 or Fn + F11 to toggle; Mac: Command+Shift+F).
*https://support.mozilla.org/kb/how-to-use-full-screen
You can check for problems caused by a corrupted localstore.rdf file.
*http://kb.mozillazine.org/Corrupt_localstore.rdf
Maybe you are looking for
-
Dear All, which date can i take to enter the opening balances into sap from legacy system.my company wants to go for go live on 01.05.2008.can i take the date as on 01.04.2008 or 31.03.2008 into sap for entering the opening balances. Regards Sreenu.
-
Error PG008 - Infotype does not exist message
I created a custom HR infotype in our development client and tested it via PA30 and it works fine. Once transported over to the Test client I am getting a 'Infotype does not exist' message in PA30. I checked all of the transports and config and the
-
How do you delete your verizon wireless community profile?
How do you delete a profile on this thing?
-
WBS in Item for during MIGO for Reservation.
Dear Sir, When we do GR for Reservation in MIGO.The WBS Element appear in the Header details. But the same does not appear in the Item Details. We have to enter the WBS manaully in the Item details. We require the same should automatically appear in
-
How to restore my icloud backup and where can I find the setup assisant in my new ipad
Dear Sir Can you help my on how to restore my icloud backup and where can I find the setup assisant in my new ipad? Thanks and Regards, Clare