PDA

View Full Version : I need to change the Dataset label location and/or style?


tom92909
07-31-2009, 11:16 AM
I'm using Dynamic Web Charts in an dynamic XML configuration.
The chart is working correctly and I have just a few more requirements to get the exact output I need...

1. I need to have full or better control over the Dataset Label. I'd like to place it in where ever I want to or dynamically call it outside the actual chart perhaps and remove it from it's upper left hand corner default location inside the Flash area.


<dataset style="{color:#767a7f;font-size:14px;}" size="14"
width="2" color="#0000CC" dotsize="4" opacity="80"
abstraction="4" outline="#5a6484" linecolor="#5a6484"
type="line" subtype="dot" label="My Data">




2. Dynamic Hyperlinks off of chart points. How is that accomplished exactly?

Is it as simple as this?

<point>
<value><a href="my_link_location.php"><?php echo $row_getData['field1']; ?></a></value>
<label>DataPoint1</label>
</point>




Outstanding product by the way. :D

tom92909
07-31-2009, 03:42 PM
I found the XML tag for the hyperlinks.

<pointlink></pointlink>

So I managed to answer my 2nd question.


I still need to find out about the 1st question related to controlling the Dataset labels.


Thanks!

tom92909
08-03-2009, 06:41 AM
Good Monday morning. Just checking on an update to my original question.


1. I need to have full or better control over the Dataset Label. I'd like to place it in where ever I want to or dynamically call it outside the actual chart perhaps and remove it from it's upper left hand corner default location inside the Flash area.


<dataset style="{color:#767a7f;font-size:14px;}" size="14"
width="2" color="#0000CC" dotsize="4" opacity="80"
abstraction="4" outline="#5a6484" linecolor="#5a6484"
type="line" subtype="dot" label="My Data">

Jimmy Wu
08-03-2009, 12:52 PM
Hi Tom,

I am unaware of any way you can manually position the Dataset labels. There is no setting to move the dataset label and applying CSS will not affect the position.

I apologize for this limitation on the product.

tom92909
08-03-2009, 01:33 PM
Jimmy,

Thank you for your reply.
Ok with that limitation identified, can I not display the Dataset Label at all?
Can I disable the Dataset Label completely?

Jimmy Wu
08-03-2009, 02:17 PM
If you go into your <pagename>_data<num>.<serverType> file located in DynamicWebCharts->Data folder of your site, you can remove the label="<datasetLabel>" part underdataset which will remove the label.

So in your specific example if you deleted the last part of the line (label="My Data") the dataset label will not show up.

tom92909
08-03-2009, 02:36 PM
Jimmy,

Yes, that does work, but when the <dataset label=""> is removed, it also chops off the top half of the Y-Axis label tick for the upper range number. How can I avoid this?

I am one step away from perfection! I just need to resolve this last display issue.

Just for visual reference...

http://www.cybersol1.com/screenshot.jpg


I hope this helps you better understand my problem.

tom92909
08-03-2009, 03:44 PM
Just need one last update to resolve my last issue. I hope to hear from you before the end of business today.

Thanks! :)

tom92909
08-04-2009, 10:09 AM
Just checking back in for an answer.

Jimmy Wu
08-04-2009, 02:43 PM
I'm not sure what's causing this. My axis labels do not get cut off when I remove the dataset label. Can you show me a page uploaded to a server so I can take a look at it?

tom92909
08-04-2009, 08:56 PM
Sure...
Full Chart Output
http://www.cybersol1.com/fullchart.jpg

I found the problem.
To get the above result, I took out portions of the XML data.
I disabled the <title> tag in the XML data and that removal, didn't disable XML, but left the application without valuable information.
This omission is what caused the top range number of the Y-Axis to get cut in half.

I now have the exact output that I needed.

Thank you for your support in resolving my issue. Excellent Extension!!!!