kalyan_nani Posted August 27, 2007 Report Share Posted August 27, 2007 Hi Frank, I am creating multiple secondary Y axis using below code(c#). How can i achieve the same using Javascript. AxisY AddlAxisY = new AxisY(); AddlAxisY.Visible = true; AddlAxisY.TextColor = Chart1.Series.Color; AddlAxisY.Position = AxisPosition.Far;AddlAxisY.ForceZero = false; Chart1.AxesY.Add(AddlAxisY); Chart1.Series.AxisY = AddlAxisY; Is there any dcoumentation avilable on "Chartfx VS Javascript". Regards, Kalyan Link to comment Share on other sites More sharing options...
Frank Posted August 30, 2007 Report Share Posted August 30, 2007 Normally this kind of coding is done in the server. You can do it in the client but you must be aware of the particulars about writing JavScript code against a .NET control. There is not a lot of documentation on this, in particular I can tell you the indexers are special. For example: Chart1.Series Will be written as Chart1.Series.Item(i) Enumerations are particularly tricky as it is the creation of new objects (e.g. new AxisY) as the classes don't exist in JavaScript but inside the .NET control. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.