Young
-
Posts
10 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by Young
-
-
Reinstalled done ok.
Here's my aspx page:
<chartfx7:Chart ID="Chart1" runat="server" Palette="ChartFX6.ChartFX6" Height="280px" Width="490px" PlotAreaColor="Transparent"> <LegendBox Border="External" Dock="Bottom" Visible="false"> </LegendBox> <SpecialObjects><chartfxadornments:ImageBorder AssemblyName="ChartFX.WebForms.Adornments" Color="255, 199, 0" Type="Emboss" /> <chartfxadornments:GradientBackground AssemblyName="ChartFX.WebForms.Adornments" ColorFrom="172, 189, 213" ColorTo="223, 232, 242" /> <chartfx7galleries:Bar /> </SpecialObjects> <AllSeries Gallery="Bar" > </AllSeries> <Series> <chartfx7:SeriesAttributes ></chartfx7:SeriesAttributes> <chartfx7:SeriesAttributes ></chartfx7:SeriesAttributes> <chartfx7:SeriesAttributes ></chartfx7:SeriesAttributes> <chartfx7:SeriesAttributes ></chartfx7:SeriesAttributes> </Series> <Titles>Here's my code behind:
Chart1.Data.Series = 4;
Chart1.Data.Points = 4;
Chart1.DataSourceSettings.Fields.Add(new FieldMap("Previous", FieldUsage.Value));Chart1.DataSourceSettings.Fields.Add(
new FieldMap("Current", FieldUsage.Value));Chart1.DataSourceSettings.Fields.Add(new FieldMap("Target", FieldUsage.Value));Chart1.DataSourceSettings.Fields.Add(
new FieldMap("Corp Avg", FieldUsage.Value));Chart1.DataSourceSettings.Fields.Add(
new FieldMap("module_nm", FieldUsage.Label));Chart1.AxisY.DataFormat.Decimals = 0;
Chart1.AxisY.LabelsFormat.Format = AxisFormat.Number;Chart1.AllSeries.PointLabels.Format =
"%v";Chart1.AllSeries.BarShape = BarShape.Cylinder;Chart1.AllSeries.PointLabels.Visible =
true;Chart1.ToolTipFormat = "%v%%"; //LegendboxChart1.LegendBox.Visible = false;Chart1.LegendBox.CustomItems.Clear();
Chart1.LegendBox.ItemAttributes.Clear();
Chart1.LegendBox.Dock = DockArea.Bottom;Chart1.LegendBox.Border =
DockBorder.External;Chart1.ToolBar.Visible = false;Chart1.DataGrid.Visible =
true;Chart1.View3D.Enabled = false;Chart1.DataGrid.MaxSizePercentage = 100;
//--- set chart type: statcked bar ----Chart1.AllSeries.Gallery = Gallery.Bar;Chart1.AllSeries.Stacked =
Stacked.No; //--- Get data to bind to chart ---- DataTable dt = Assessments.GetHistoricalSAFEScores(ref data);Chart1.DataSource = dt;
Chart1.DataBind();
The chart didn't show up. My deadline is coming but I can't get it to work.
Any help will be greatly appreciated.
-
I had admin uninstall and re-install chartfx & guage. I still didn't see these 2 folders chartfx70 and chartfxguage10 created under the root.
When I ran report to create chart, it crashed with the following error. Something is related license. Any advice will be appreciated.
[ArgumentOutOfRangeException: Length cannot be less than zero.
Parameter name: length]
System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy) +7495111
ChartFX.WebForms.Internal.aa.a(String A_0, String& A_1, String& A_2) +38
ChartFX.WebForms.Internal.aa.a(Type A_0, String A_1, String& A_2, Boolean& A_3, ae& A_4) +75
ChartFX.WebForms.Internal.t.a(Boolean A_0, String A_1) +2340
ChartFX.WebForms.Internal.aa.a(LicenseContext A_0, Type A_1, Object A_2, Boolean A_3, LicenseProvider A_4) +602
ChartFX.WebForms.Internal.x.a(LicenseContext A_0, Type A_1, Object A_2, Boolean A_3) +389
System.ComponentModel.LicenseManager.ValidateInternalRecursive(LicenseContext context, Type type, Object instance, Boolean allowExceptions, License& license, String& licenseKey) +237
System.ComponentModel.LicenseManager.ValidateInternal(Type type, Object instance, Boolean allowExceptions, License& license) +41
System.ComponentModel.LicenseManager.Validate(Type type, Object instance) +31
ChartFX.WebForms.Chart..ctor() +210
ASP.audit_assessmentchartdetail_aspx.__BuildControlChart1() +44
ASP.audit_assessmentchartdetail_aspx.__BuildControl__control11() +75
ASP.audit_assessmentchartdetail_aspx.__BuildControl__control10(HtmlTableCellCollection __ctrl) +16
ASP.audit_assessmentchartdetail_aspx.__BuildControl__control9() +58
ASP.audit_assessmentchartdetail_aspx.__BuildControl__control5(HtmlTableRowCollection __ctrl) +35
ASP.audit_assessmentchartdetail_aspx.__BuildControltblSiteSummaryCharts() +82
ASP.audit_assessmentchartdetail_aspx.__BuildControlform1() +93
ASP.audit_assessmentchartdetail_aspx.__BuildControlTree(audit_assessmentchartdetail_aspx __ctrl) +115
ASP.audit_assessmentchartdetail_aspx.FrameworkInitialize() +37
System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +56
System.Web.UI.Page.ProcessRequest() +80
System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +21
System.Web.UI.Page.ProcessRequest(HttpContext context) +49
ASP.audit_assessmentchartdetail_aspx.ProcessRequest(HttpContext context) +4
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +181
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75
-
The chartfx70 folder under the root was missing not IIS.
Is there any setting in web.config in server?
Thanks.
-
- How does the web site call the
-
I have 3 bar charts and radial gauge on the same page. All charts work fine on my laptop until I deployed to test server.
The radial gauge shows correctly. I set format aschart.RenderFormat =
"Image";At first, I got the error due to the missing 2 folders in test server. I manually created them and got by the error. However, the 3 charts didn't show up.
I searched thru the ChartFx forum and found out I'm not alone. It seems chartfx tried to save charts to the folders Chartfx70 and cfxGauge10 as .PNG format. I can see them under chfGuage10 folder but not in Chartfx70. I asked the NT server admin to change security as described in forum. Nothing works.
Anyway I can get away from generating charts in these temp folders? Why do we need to create virtual folders in IIS?
Any help will be greatly appreaciated!
-
I'm in the same situation as your. We just bought the ChartFX product as well. When we deployed to the test server, the charts didn't show up. Our testing is coming near and we couldn't make it work. Every time I tried to contact them, they told me to post the issue by using this link www.mysoftwarefx.com. Hower when I clicked on this link they required me to buy subscription. I'm stuck.
We changed security as listed in the forum but no luck.
-
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
I have bar chart, I'd like to click on any bar then based on the value of XAxix then generate a detail chart.
I tried to use Chart2.Click += new HitTestEventHandler(Chart2_Click); but error saying no overload for Chart2_Clicked
ChartFx didn't show up in server but ok in local machine
in Web Forms
Posted
- License manager said Active License with green check image. We had issue after max out numbers of reinstalling. We contact security they took care of it. Reinstallation is ok now.
Here's what I saw.
- This is the root of my website: http://ehsdb-test
- http://ehsdb-test/CfxGauges10/temp/CFT1208_0121582B00F.png ---> radial guage works ok because it doesn't requires PSS service.
- http://ehsdb-test/chartfx70/pss/ChartFX.aspx?id=0-120813215&type=png&mime=image%2fpng when it hits this line it encounters security and reroutes it to the \Auth - authorization folder Redirect to /ChartFX70/PSS/Auth/Auth.aspx?ReturnUrl=%2fchartfx70%