![]() |
Charting Options |
Post Reply
|
| Author | |
mattucg
Newbie
Joined: 28 Sep 2010 Posts: 32 |
Post Options
Quote Reply
Topic: Charting OptionsPosted: 01 Nov 2011 at 11:57am |
|
I have a simple template which displays a line chart. I would like to make some modifications, but I can't seem to find out how.
Here is the chart definition: <xfd:chart type="line" width="300px" height="300px"> <xc:legend legend-placement="none"/> <xc:plot-area x="10px" y="10px" width="280px" height="280px"/> <xfd:serie description="'Serie 1'" base-xpath="/CodeDistributionCollection/CodeSet/CodeList/ICD10Code" value="Distribution" caption="Distribution" category="Code" width="'20px'"/> </xfd:chart> Here is the sample data: <CodeDistributionCollection> <CodeSet> <CodeList> <ICD10Code> <Code>99201</Code> <Distribution>0.49%</Distribution> </ICD10Code> <ICD10Code> <Code>99202</Code> <Distribution>5.46%</Distribution> </ICD10Code> <ICD10Code> <Code>99203</Code> <Distribution>30.29%</Distribution> </ICD10Code> <ICD10Code> <Code>99204</Code> <Distribution>50.47%</Distribution> </ICD10Code> <ICD10Code> <Code>99205</Code> <Distribution>13.27%</Distribution> </ICD10Code> </CodeList> </CodeSet> </CodeDistributionCollection> Here is the result The first issue is that data points along the X axis are clumped together. It seems to be a problem specific to numbers, because if I add a letter at the beginning of each 'Code' value, the data points are spaced evenly. I am also interested in formatting options. Can the values displayed along the Y-axis be controlled? If I have data points in the range of 1-60, I see values along the axis that end around 60. Would I be able to create a chart to scale to 100 even if the data only goes up to 60? Can I make the values more spaced out? There are many intermediate labels that could be omitted. Can I add percentage symbols next to the labels appearing on the Y axis? Here is an example of how I would like the final chart to look. It doesn't have to match exactly, but I would like to get as close as possible. Thanks in advance, -Matt |
|
![]() |
|
radup
Admin Group
Adminstrator Joined: 19 May 2008 Posts: 83 |
Post Options
Quote Reply
Posted: 01 Nov 2011 at 12:50pm |
|
Hi mattucg,
I've made a sample for you:
Edited by radup - 01 Nov 2011 at 12:52pm |
|
![]() |
|
mattucg
Newbie
Joined: 28 Sep 2010 Posts: 32 |
Post Options
Quote Reply
Posted: 01 Nov 2011 at 12:54pm |
|
Wonderful. Thank you!
Is there a reference page I can use for other charting options? The built-in help is only so helpful. |
|
![]() |
|
radup
Admin Group
Adminstrator Joined: 19 May 2008 Posts: 83 |
Post Options
Quote Reply
Posted: 02 Nov 2011 at 12:01pm |
|
Unfortunately we don't have at this moment a page with charting options, but the online help will be updated by the end of November when the new release will come out.
Regards, Radu
|
|
![]() |
|
Post Reply
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |