How to create a smooth line chart in dashboard design?
hello everyone, i am creating a line chart but found that there is no smooth line option to choose in line chart component... is there anyway this can be done? thanks in advance
Hi ,
Check this link
How to make a Line Chart curved instead of straight from point-to-point?
Regards
Rajesh
Similar Messages
-
How to create curve fitted line chart?
Line chart is formed with straight lines, but how to create curve fitted line chart?
Jasper wrote a blog on curve fitting charts
-
How to create a muli line text area using JavaFx
Hi all,
Since the preview SDK does not contain TextArea any more, I am wondering how to create a muli line text area using JavaFX. The behaviour of this text area/field should be somehow similar to JTextArea in Swing or StyledTextWidget in SWT.
Does JavaFX have any support for this? What would be a sensible approach to create such a widget?
Thanks for your suggestions,
br michaelThis is a pretty old thread (I know I came across this while searching for something similar recently), but I figured I'd throw this out there in case other people might find this useful. As I write this, JavaFX's latest version is 1.3... which may have added the needed functionality since the last post.
You can now create a multi-line text area using a TextBox and by specifying the nubmer of lines and setting the "multiline" value to true. It may not offer all of the same functionality as JTextArea, but it did the job for what I needed... newlines by pressing enter, scrollbar if text surpasses height, etc.
Here's a simple example:
Group {
content: [
TextBox {
text: "This is a multi-line textbox"
lines: 10 // <-- this may/may not be necessary depending on your situation. Default is 5.
multiline: true
}Edited by: loeschg on Jul 29, 2010 2:59 PM -
How to create a new line in label in Xcode
How to create a new line in label. for example I have two buttons & one label. when i press first button, l want to change the label text to "Hello World". then when I press the second button, on the same label I need to display"Good Bye" on the next line in xcode 5?
I want to display the lablel like below:
Hello World
Good ByeI am using Xcode to develop an app for iOS.
I tried using multi-line label & belwo is my code.
- (IBAction)change:(UIButton *)sender {
self.Screen.text = @"\nHello World";
- (IBAction)newChange:(UIButton *)sender {
self.Screen.text = @"\nGood bye";
everytime when i pressed the button, it replacing the whold lable text instead of adding the second line. -
How to create dynamic ed flash charts based on user selected fields in Orac
Hi all,
Can any of the experts please tellme "how to create dynamic ed flash charts based on user selected fields in Oracle apex".
Thanks
ManishHello,
Lots of different ways to do this, I blogged about one way (using a Pipelined function) here -
http://jes.blogs.shellprompt.net/2006/05/25/generic-charting-in-application-express/
Other options include using a PL/SQL function returning the string to use as the dynamic query etc.
Hope this helps,
John.
Blog: http://jes.blogs.shellprompt.net
Work: http://www.apex-evangelists.com
Author of Pro Application Express: http://tinyurl.com/3gu7cd
REWARDS: Please remember to mark helpful or correct posts on the forum, not just for my answers but for everyone! -
How to create a multi-line table/column comment
Can someone tell me how to create a multi-line table or column comment?
Apparently, the concatenate operator (||) does not work with the COMMENT statement.
I've searched the Oracle manuals and couldn't find an answer.
COMMENT ON TABLE sometbl IS 'i would like to break up this comment into several lines in order to improve readability'; Effectively, this is what I'd like to do (but it doesn't work):
COMMENT ON TABLE sometbl IS
'i would like to break up ' || CHAR(10) ||
'this comment into several lines ' || CHAR(10) ||
'in order to improve readability' || CHAR(10); Oracle version is 10.2.0.4Why not just
SQL> create table t (a int)
Createtable successfully completed.
SQL> comment on table t is 'i would like to break up
this comment into several lines
in order to improve readability'
Commenton successfully completed.
SQL> select * from user_tab_comments where table_name = 'T'
TABLE_NAME TABLE_TYPE COMMENTS
T TABLE i would like to break up
this comment into several lines
in order to improve readability
1 row selected.? -
HELP! PDF objects - How to create a program line object?
Hi Experts,
I would like to know how to create a Program lines object (icon cog wheels). I need to create additional coding inside the context tab but when I try to right click on a folder --> create -->graphic,address,text,alternative...single record... No
program lines can be created.
Hope someone could help me.
Thanks,
JeffThere are two ways of doing it, depending on what you want to accomplish. Both require that you edit the file ~/.bashrc (I assume you use bash)
1) If the application places all the executable files in a given directory (let's say /opt/Application/bin/), you can access all those executables directly by simply telling your shell where to look (in the same way the shell automatically looks for executable files in eg. /usr/bin). In ~/.bashrc, you would have to add a line that looks like this:
PATH="$PATH:/opt/Application/bin"
2) If you just want to make a traditional "shortcut" that executes a given command, this can be done with alias. Add this command to your ~/.bashrc:
alias shortcut="some command"
In this case, typing shortcut into a terminal will be interpreted just like if you had typed some command instead.
In order to try out these changes, either restart your terminal or run this command:
source ~/.bashrc
[EDIT]
I was obviously beaten to it
Last edited by Peanut (2009-05-26 23:12:47) -
How to create a stroked line that randomize each stroke color?
Hi all, I am strating out designing in illustrator and I need help on how to created a stroked line, -----------, with each stroke ( - ) a different colour, like, each stroke having a different randomized color which differs from the next one.
Also, I need help on how to mask out parts of a template given to me by my school so i dont infringe that boundary when I add my lines to it. All helps appreciated, thank you.Ok thank you for your responses, Monika, I followed your instruction but it isnt working, is there any steps that I might have done wrongly? Here are some screenshots that depicts my problem:
Here it is after I outline the stroke,
And here it is when I apply the script:
However, after I clicked okay, nothing changed and the strokes are still in their original color(yellow) as seen in the first picture. Did I do any steps wrong that result in this outcome? Also I've tried to put 99 instead of 99s and still, it didnt work. -
How to create a multiple-line TextBox in a jfx script?
How to create a multiple-line TextBox in a jfx script?
Or
How to use the Swing component JTextArea in a jfx script?
Please post a brief code segment.
Thanks,
AsgharThis supports two way binding between JavaFX and Java and also cut and paste.
Enjoy.
* MyTextArea.fx
* Created on Dec 14, 2008, 7:23:49 AM
package twifxer.components;
import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;
import java.awt.Font;
import javafx.ext.swing.SwingComponent;
import javax.swing.JComponent;
import javax.swing.JTextArea;
import java.awt.Color;
* @author Steven Herod
public class TweetTextComponent extends SwingComponent{
var myComponent: JTextArea;
public var length: Integer;
public var readText:String;
public var text: String on replace{
myComponent.setText(text);
public var toolTipText: String on replace{
myComponent.setToolTipText(toolTipText);
public override function createJComponent():JComponent{
translateX = 15;
translateY = 5;
var f:Font = new Font("sanserif",Font.PLAIN, 11);
myComponent = new JTextArea(4, 33);
myComponent.setOpaque(false);
myComponent.setFont(f);
myComponent.setWrapStyleWord(true);
myComponent.setLineWrap(true);
myComponent.addKeyListener( KeyListener{
public override function
keyPressed(keyEvent:KeyEvent) {
if (keyEvent.VK_PASTE == keyEvent.getKeyCode())
myComponent.paste();
public override function
keyReleased( keyEvent:KeyEvent) {
var pos = myComponent.getCaretPosition();
text = myComponent.getText();
myComponent.setCaretPosition(pos);
public override function
keyTyped(keyEvent:KeyEvent) {
length = myComponent.getDocument().getLength();
return myComponent;
} -
How to create some columns dynamically in the report designer depending upon the input selection
Post Author: ekta
CA Forum: Crystal Reports
how to create some columns dynamically in the report designer depending upon the input selection
how export this dynamic report in (pdf , xls,doc and rtf format)
report format is as below:
Element Codes
1
16
14
11
19
10
2
3
Employee nos.
Employee Name
Normal
RDO
WC
Breveavement
LWOP
Sick
Carers leave
AL
O/T 1.5
O/T 2.0
Total Hours
000004
PHAN , Hanh Huynh
68.40
7.60
76.00
000010
I , Jungue
68.40
7.60
2.00
5.00
76.00
000022
GARFINKEL , Hersch
66.30
7.60
2.10
76.00
In the above report first column and the last columns are fixed and the other columns are dynamic depending upon the input selection:
if input selection is Normal and RDO then only 2 columns w'd be created and the other 2 fixed columns.
Can anybody help me how do I design such report....
ThanksHi Developer life,
According to your description that you want to dynamically increase and decrease the numbers of the columns in the table, right?
As Jason A Long mentioned that we can use the matrix to do this and put the year field in the column group, amount fields(Numric values) in the details, add an filter to filter the data base on this column group, but if
the data in the DB not suitable to add to the matrix directly, you can use the unpivot function to turn the column name of year to a single row and then you can add it in the column group.
If there are too many columns in the column group, it will fit the page size automatically and display the extra columns in the next page.
Similar threads with details steps for your reference:
https://social.technet.microsoft.com/Forums/en-US/339965a1-8cca-41d8-83ef-c2548050799a/ssrs-dataset-column-metadata-dynamic-update?forum=sqlreportings
If your still have any problem, please try to provide us more details information, such as the data structure in the DB and the table structure you are currently designing.
Any question, please feel free to let me know.
Best Regards
Vicky Liu -
How to create a trend line in cfchart?
I can create a scatter chart in cfchart - but I do not know how to create a linear regression trend line in the same chart as a second data series.
Kodemonki provided an answer in a forum discussion a few years ago (http://forums.adobe.com/message/192848#192848).
But I am not able to make it work (I have a dangerously small knowledge of coldfusion and statisitcal formulas).
Can someone tell me where i put in my to data query variables - such as for a query that gives results for two data fields, "Item1" and "Item2".
Thanks!
Here is Kodemonki's solution:
<!--- The min setting is a preference based on how you want the data to be displayed. --->
<!---<cfset min = arrayMin(grabData["value"]) - 5>--->
<cfset min = 0>
<cfset max = ceiling(arrayMax(grabData["value"])) + 1>
<cfset n = grabData.recordCount>
<cfset sum_x = 0>
<cfset sum_x2 = 0>
<cfset sum_xy = 0>
<cfloop from="1" to="#grabData.RecordCount#" index="i">
<cfset sum_x = sum_x + i>
<cfset sum_xy = (i*grabData.value[i]) + sum_xy>
<cfset sum_x2 = sum_x2 + (i*i)>
</cfloop>
<cfset sum_y = arraySum(grabData["value"])>
<cfset slope = round(((n*sum_xy) - (sum_x*sum_y))/((n*sum_x2) - (sum_x*sum_x)))>
<cfset intercept = round((sum_y - (slope*sum_x))/n)>
<cfset best_fit = QueryNew("id, value")>
<cfloop from="1" to="#grabdata.RecordCount#" index="i">
<cfset queryAddRow(best_fit)>
<cfset value = round((slope*i) + intercept)>
<cfset QuerySetCell(best_fit, "id", grabData.xlabel[i])>
<cfset QuerySetCell(best_fit, "value", value)>
</cfloop>
<cfchart scalefrom="#min#" scaleto="#max#" title="#GrabDatapointInfo.label#" format="jpg" chartHeight="450" chartwidth="500" xaxistitle="Month/Year">
<cfchartseries type="line" query="best_fit" valuecolumn="value" itemcolumn="id"/>
<cfchartseries type="line" query="grabData" valuecolumn="value" itemcolumn="xlabel"/>
</cfchart>Have you read the docs for CFCHART, CHCHARTSERIES, etc? Did you mess around with the example code sufficiently so you understand how the tags work?
http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec22c24-79 30.html
Adam -
How to Axis labels for Line charts in Business Graphics
Hi
I am planning to do the Business Graphic example using Line chart.As part of this
i didn't clearly understand what is the perpose of Series,Points,categorys?
if i want to set the Labels at X-axis and y axis ,then how to do that?Baiscally i want to put time related data as X-axis label(20min,30min,60 min etc).Please help.
is there any good example to understand the concept?
Thanks
PrasadHi Bachier
Thanks for your repsonce.I had seen the example you suggested.but there is no answer for my question.How to set the x-Axis,Y-axis Labels.I had done example for "line chart".But i have same problem:
Hi
I am trying to do example on "line chart" using Business graphics in my webdynpro application.
In the Context i created Node "A" under which i created "B".then it has value attributes xValue,yValue.Then in View i created BG UI element >Series>point-->NumericValue(for xValue) ,NumericaValue(yValue).Now in view init() method i had initialized values to x and y. some output is coming.but i want to know how to set the X-Axis Label,y-Axis Labels.in X-Aix Label i want to mention time in hrs i.e 8.00,8.30AM,9.00AM,9.30AM etc.as part of y-axis labels i want to mention numeric values( .2,.4,.8,2.0 etc). Please tell me how to set this X-Axis,y-Axis labels.at every 30min(8.00Am,8.30AM etc) user enter quality data(i.e .2 etc) then i want to generate chart.Please help in this regard.i will give very good points
Thanks
Prasad -
How to create a new line item automatically in CRMD_ORDER
Hi,
While creating a sales order in CRMD_ORDER, after user enters a line item say 'xxxx' and press 'Enter', we need to create a new line item say 'yyyy' dynamically. Any ways of how to achieve this functionality?
thanks in advance,
amar.sHi Amar
You can use structured products:
Step1:COMM_PR01
Open Product xxxx > Relationships > Tab Component > Select Relationship type = STRSET Set > Assing product yyyy
Step2: IMG > CRM > Transactions > Define Item Categories
Open you item category and in Structure scope field select option A Single-Level Explosion of structured products
Step3: IMG > CRM > Transactions > Define Item Category Determination
create new entry
Transaction type =
Item category group = Category group of xxxx product
main item cat = item cat of xxxx product
item cat = item cat of yyyy product
now when you enter product xxxx , product yyyy will be automatically added
Hope it helps
Rupesh -
How to Create Simple In-Cell Charts with the REPT Function
I found this technique on Juice Analytics, and was happy that I could adapt it to Numbers.
Basically, you can create an in-cell chart by repeating a character, x number of times, where x can be a number or cell reference.
See the screen shot below:
[IMG]http://i240.photobucket.com/albums/ff100/MacFanMike/incell-graph.jpg[/IMG]
You can read more about it, and download example here:
http://www.numberstemplates.com/2007/08/29/tips-how-to-create-in-cell-charts-wit h-apple-iwork-numbers/I haven't tried myself but my guess is that you need to customize your tree cell editor for putting
cursor at specific position, etc. -
How to create a vertical bar chart from a table? (PHP, HTML and CSS)
Hi everyone,
I have created a table and wish to proceed to do it even better in terms of analysis pattern. I want
to create a vertical bar chart from the created table but I dunno how to start it.
Here is the code for the table:
<?php
$gpa11=$_REQUEST['gpa11'];
$gpa12=$_REQUEST['gpa12'];
$gpa21=$_REQUEST['gpa21'];
$gpa22=$_REQUEST['gpa22'];
$gpa31=$_REQUEST['gpa31'];
$gpa32=$_REQUEST['gpa32'];
$gpa41=$_REQUEST['gpa41'];
$gpa42=$_REQUEST['gpa42'];
$gpa51=$_REQUEST['gpa51'];
$gpa52=$_REQUEST['gpa52'];
?>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=1024">
<title>Feng Mentor Mentee</title>
</head>
<body>
<div id="wrapper">
<div class="chart">
<h3>GPA Performance Graph</h3>
<table id="data-table" border="1" cellpadding="10" cellspacing="0"
summary="The performance of students throughout the years in university">
<thead>
<tr>
<td> </td>
<th scope="col">Year 1</th>
<th scope="col">Year 2</th>
<th scope="col">Year 3</th>
<th scope="col">Year 4</th>
<th scope="col">Year 5</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">Sem 1</th>
<td><?php echo $gpa11;?></td>
<td><?php echo $gpa21;?></td>
<td><?php echo $gpa31;?></td>
<td><?php echo $gpa41;?></td>
<td><?php echo $gpa51;?></td>
</tr>
<tr>
<th scope="row">Sem 2</th>
<td><?php echo $gpa12;?></td>
<td><?php echo $gpa22;?></td>
<td><?php echo $gpa32;?></td>
<td><?php echo $gpa42;?></td>
<td><?php echo $gpa52;?></td>
</tr>
</tbody>
</table>
</div>
</div>
</body>
</html>
Here's the look:
GPA Performance Graph
Year 1
Year 2
Year 3
Year 4
Year 5
Sem 1
Sem 2
Please help me on this because this is my 1st project on php.Hi
Are you using BI query? If yes then follow the steps -
1. Take Sales org in rows of BI query. & take invoice type & Key figure in Columns.
2. In VC use this query & drag chart from the output of this query.
3. Right click on chart & go to 'Configure Element'. There select Chart Type as 'Bar chart'
4. Below that you will get default option as clustered, there you select 'Stacked'
5. Create Data series as per your requirement.
6. Arrange proper layout of the model & then deploy.
You will get required output in stacked format.
Regards
Sandeep
Maybe you are looking for
-
Permanently removing part of an image from a transparent background png file
Hello, I think I know the answer to this question, but I wanted to double check. I am new to Photoshop and do not know all the functions. I have a png transparent background file of a tree with a lot of branches. I want to erase some of the branch
-
Function module to read Comma Seperated File (CSV)
Hi, Is there any Function module to read CSV file from presentation server or Application server? Regards, Madhu
-
Trouble with normal screen mode
My I phone has unexpectedly entered a mode that would appear to be useful for those with either blindness or severe sight problems. The screen does not work as normal on the slide to unlock. I have to double tap to get anywhere. I managed to get to s
-
Can't create raid array in 10.4.6
I am trying to create a mirrored raid array with two Fantom USB 2 external harddrives using disk utility. I am unable to drag the image of any hard drive into the right window and the create button is never activated. I have restarted, verified the d
-
I've tried three times to open Iphoto 4.0.3 and all I get is the spinning rainbow ball. It goes for ever and fianlly I have to force a re-boot as everything done. I've copied all my photos to a cd and dumped all the folders I created in Iphoto. I tri