Jump to content
Software FX Community

Possible to drill down on chart generated using the GetHtlmData method ?


User (Legacy)

Recommended Posts

Hi,

Is it possible to drill down on a chart generated using the GetHtlmData

method (using trial version of Chart FX .Net. (c# mode) as a web farm

solution)?

I tried to modify the return type to indicate an Image, instead of Auto, but

I receive the following "Missing License Tag" error (might be limitation of

trial version). I assume an image tag is required to provide the drill down

info of each segment in the chart

I also tried to use GetHtmlDataEx but couldn't find any examples to assist

with coding (any c# examples?)

Client call to chart aspx page also below. Maybe the drill down is not

allowed as a result of the client side coding call?

-----------------

// Code (pseudo)- Chart.aspx

SoftwareFX.ChartFX.Internet.Server.Chart chart1 = new

SoftwareFX.ChartFX.Internet.Server.Chart(this);

chart1.Gallery = SoftwareFX.ChartFX.Gallery.Bar;

chart1.MarkerShape = SoftwareFX.ChartFX.MarkerShape.None;

chart1.Chart3D = true;

DataSet ds = new DataSet();

ds = MyDBDll.GetDataSet(SQL/Stored procedure);

//Attach datasource and bind

chart1.DataSource = ds;

chart1.DataBind();

chart1.URL = "http://www.SomeWhere.com";

chart1.URLParamMask = "Series Index=%S&Points Index=%N&Value=%v&Label=%l&Tag

String=%L";

chart1.GetHtmlData(500,300,"Auto"); //Returns chart but no drill down

facility

chart1.GetHtmlData(500,300,"Image") //Returns Missing License Tag error

---

Client code:

<form id="WebForm9" method="post" runat="server">

<OBJECT id="chart1" height="350" width="500"

classid="/ChartFX6/Download/ChartFX.Internet.Client.dll#SoftwareFX.ChartFX.I

nternet.Client.Chart" VIEWASTEXT>

<PARAM NAME="DataPath" VALUE="/webAppTest/Chart.aspx">

---

Thanks in advance,

Dec.

Link to comment
Share on other sites

Hello,

Yes you can use drilldowns with GetHTMLData if you are using the .Net Client

component. If you are using image generation then no it is not possible to

use GetHTMLData. You would need to switch to GetHTMLDataEx. We currently

do not have a sample using GetHTMLDataEx. We will try to make one soon to

post on our support web site.

JT

Tech. Support

561-392-2023

"Declan O'Leary" <declanol@hotmail.com> wrote in message

news:8Fq05MHcCHA.1320@webserver1.softwarefx.com...

> Hi,

>

> Is it possible to drill down on a chart generated using the GetHtlmData

> method (using trial version of Chart FX .Net. (c# mode) as a web farm

> solution)?

>

>

>

> I tried to modify the return type to indicate an Image, instead of Auto,

but

> I receive the following "Missing License Tag" error (might be limitation

of

> trial version). I assume an image tag is required to provide the drill

down

> info of each segment in the chart

>

>

>

> I also tried to use GetHtmlDataEx but couldn't find any examples to assist

> with coding (any c# examples?)

>

> Client call to chart aspx page also below. Maybe the drill down is not

> allowed as a result of the client side coding call?

>

>

>

> -----------------

>

>

>

> // Code (pseudo)- Chart.aspx

>

> SoftwareFX.ChartFX.Internet.Server.Chart chart1 = new

> SoftwareFX.ChartFX.Internet.Server.Chart(this);

> chart1.Gallery = SoftwareFX.ChartFX.Gallery.Bar;

> chart1.MarkerShape = SoftwareFX.ChartFX.MarkerShape.None;

>

> chart1.Chart3D = true;

>

> DataSet ds = new DataSet();

> ds = MyDBDll.GetDataSet(SQL/Stored procedure);

>

>

>

> //Attach datasource and bind

>

> chart1.DataSource = ds;

> chart1.DataBind();

>

>

> chart1.URL = "http://www.SomeWhere.com";

> chart1.URLParamMask = "Series Index=%S&Points

Index=%N&Value=%v&Label=%l&Tag

> String=%L";

>

> chart1.GetHtmlData(500,300,"Auto"); //Returns chart but no drill down

> facility

> chart1.GetHtmlData(500,300,"Image") //Returns Missing License Tag error

>

> ---

>

> Client code:

>

>

>

> <form id="WebForm9" method="post" runat="server">

> <OBJECT id="chart1" height="350" width="500"

>

classid="/ChartFX6/Download/ChartFX.Internet.Client.dll#SoftwareFX.ChartFX.I

> nternet.Client.Chart" VIEWASTEXT>

> <PARAM NAME="DataPath" VALUE="/webAppTest/Chart.aspx">

>

> ---

>

>

>

> Thanks in advance,

>

> Dec.

>

>

>

>

>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...