Jump to content

Recommended Posts

Posted

Hello to all,

 

[Edit]: code/project was improved and uploaded.

 

Here is a jQuery widget with animation and fully customized and fully responsive that I have written recently:

 

Works excellent when resizing the browser window !

 

 

crcl.png

 

Code:

$('#newTasks').circleProgress({
  title:'15',
  caption:'New tasks',
  bgcolor:'#e1dddd',
  fgcolor:'#54c0fd',
  tfntcolor:'#54c0fd',
  cfntcolor:'#b0aeae',
  animationstep:1,
  rotateanimationstep:0.4,
  total:100,
  value:30,
  mstyle:0,
  thik:25,
  shadow:1
});

You may test is online (for limited time): http://80.179.68.220:8076

 

You can download project from here [port: 8076]: http://3msoft.net/mhmd/CircleProgress.rar

  • Like 1
  • Upvote 7
  • 1 year later...
  • 6 months later...
Posted

Hi,

 

I'm trying to use this, but when running the application I always get a message from the browser: UniSyncObj.initEncode is not a function.

 

Does anybody have an idea what I'm doing wrong?

 

Thx,

Bernaert Dominique

  • 4 months later...
Posted

Hello, im trying out the evaluation version of unigui because i want to create a webportal. I found your great circleprogress but don't understand how to use it. if i copy the htmlframe, and put it on the mainform is shows fine, if i put it on a tab wich is not visible, and then activate the tab it doesnt show correctly..

Can u tell me what i am doing wrong?

  • 4 months later...
  • 1 month later...
  • 4 weeks later...
Posted

Hi,

 

I have probably a stupid question.

The title and the caption are changed in the click event from the button component.

How can I do this straight from Delphi code?

I read the numbers from the database and would like to send the correct numbers to the component straight from Delphi.

Is that possible?

 

Thx,

Dominique

Posted

Hi,

 

Like this for example:

UniSession.AddJS('$(circle1).circleProgress("title", 50);'); 
UniSession.AddJS('$(circle1).circleProgress("caption", "new caption");');
UniSession.AddJS('$(circle1).circleProgress("value", 50);');
UniSession.AddJS('$(circle1).circleProgress("total", 100);');
Posted

Thx for the feedback, that works nicely.

I have one more problem.

I call this code on the create of the form, I perform the calculations and then add the UniSession.AddJS lines.

Problem here is that the objects don't exist yet I think, I get an error that the object is not defined.

It works well when I do this from a button on the form when the form is already displayed.

Is there a way to wait until the object is created and then call the UniSession.ADDJs?

 

Thx,

Dominique

  • 1 year later...
  • 10 months later...
  • 10 months later...
Posted
On 7/19/2018 at 6:30 AM, Sherzod said:

Hi,

 

Like this for example:


UniSession.AddJS('$(circle1).circleProgress("title", 50);'); 
UniSession.AddJS('$(circle1).circleProgress("caption", "new caption");');
UniSession.AddJS('$(circle1).circleProgress("value", 50);');
UniSession.AddJS('$(circle1).circleProgress("total", 100);');

How do I determine the size of the circle?

Posted
4 minutes ago, Sherzod said:

Olá

Você ainda tem um caso de teste? Você pode anexar?

I refer to how to adjust the size to make it small, I can't find any properties or information to change that.

image.png.f34e43fe89f5deab7f342a55ca278c40.png

image.png.05333724209798780d61eedd295e5a5e.png

Posted
4 minutes ago, herculanojs said:

I refer to how to adjust the size to make it small, I can't find any properties or information to change that.

 

11 minutes ago, Sherzod said:

Do you still have a test case?

 

  • 1 year later...
Posted
On 11/19/2015 at 9:38 AM, mhmda said:

Hello to all,

 

[Edit]: code/project was improved and uploaded.

 

Here is a jQuery widget with animation and fully customized and fully responsive that I have written recently:

 

Works excellent when resizing the browser window !

 

 

http://3msoft.net/mhmd/crcl.png

 

Code:

$('#newTasks').circleProgress({
  title:'15',
  caption:'New tasks',
  bgcolor:'#e1dddd',
  fgcolor:'#54c0fd',
  tfntcolor:'#54c0fd',
  cfntcolor:'#b0aeae',
  animationstep:1,
  rotateanimationstep:0.4,
  total:100,
  value:30,
  mstyle:0,
  thik:25,
  shadow:1
});

You may test is online (for limited time): http://80.179.68.220:8076

 

You can download project from here [port: 8076]: http://3msoft.net/mhmd/CircleProgress.rar

sorry, how to use this widget jquery? simple code? thanks

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...