Forum Replies Created
-
AuthorPosts
-
in reply to: Dataviz and SQL Server integration #116982
Greetings, here is an example of code snippet to show multi-column chart using entity kindly look at it meanwhile
// chart Bunifu.DataViz.WinForms.Canvas canvas = new Bunifu.DataViz.WinForms.Canvas(); Bunifu.DataViz.WinForms.DataPoint data1= new Bunifu.DataViz.WinForms.DataPoint(Bunifu.DataViz.WinForms.BunifuDataViz._type.Bunifu_column); Bunifu.DataViz.WinForms.DataPoint data2= new Bunifu.DataViz.WinForms.DataPoint(Bunifu.DataViz.WinForms.BunifuDataViz._type.Bunifu_column); Bunifu.DataViz.WinForms.DataPoint data3= new Bunifu.DataViz.WinForms.DataPoint(Bunifu.DataViz.WinForms.BunifuDataViz._type.Bunifu_column); Random r = new Random(); for (int i = 1; i <= 12; i++) { issued.addLabely(new DateTime(date.Value.Year,i,1).ToString("MMM", CultureInfo.InvariantCulture), records.Where(b => b.IssueDate.Year == date.Value.Year && b.IssueDate.Month == i).Count()); received.addLabely(new DateTime(date.Value.Year, i, 1).ToString("MMM", CultureInfo.InvariantCulture), records.Where(b => !b.isLost && b.ActualReturnDate.Value.Year == date.Value.Year && b.ActualReturnDate.Value.Month == i).Count()); lost.addLabely(new DateTime(date.Value.Year, i, 1).ToString("MMM", CultureInfo.InvariantCulture), records.Where(b => b.isLost && b.ActualReturnDate.Value.Year == date.Value.Year && b.ActualReturnDate.Value.Month == i).Count()); } canvas.addData(issued); canvas.addData(received); canvas.addData(lost); chartYear.Render(canvas);
in reply to: DataViz Chart not Showing Up (2) #75656Hello, we have checked your code and tried it is working well. See this http://prntscr.com/kwia2q & this http://prntscr.com/kwiacy
Kindly check you code or run this code on your end https://file.io/e9hfIIin reply to: Materialtextbox text hanged event #74107Hello, we recommend using the new BunifuTextBox other than the old BunifuMaterialTextbox. Check and hope that solves your problem.
in reply to: DataViz Chart not Showing Up #68773Hello Bastian we moved the namespace from Bunifu.DataViz.Canvas to Bunifu.DataViz.WinForms.Canvas so you may use the current version, here is the correct code:
var r = new Random(); var canvas = new Bunifu.DataViz.Canvas(); var datapoint = new Bunifu.DataViz.DataPoint(Bunifu.DataViz.BunifuDataViz._type.Bunifu_bar); datapoint.addLabely("SUN", r.Next(0, 100).ToString()); datapoint.addLabely("MON", r.Next(0, 100).ToString()); datapoint.addLabely("TUE", r.Next(0, 100).ToString()); datapoint.addLabely("WED", r.Next(0, 100).ToString()); datapoint.addLabely("THU", r.Next(0, 100).ToString()); datapoint.addLabely("FRI", r.Next(0, 100).ToString()); datapoint.addLabely("SAT", r.Next(0, 100).ToString()); // Add data sets to canvas canvas.addData(datapoint); //render canvas bunifuDataViz1.Render(canvas);
Hope this helps.
in reply to: Bunifu Transition – Animated Sliding Panel. #67280Hello there, here is the converted code;
Private Sub btnSlidingPanel_Click(ByVal sender As Object, ByVal e As EventArgs) If slidePane.Width = 38 Then slidePane.Visible = False slidePane.Width = 189 panelAnimator.ShowSync(slidePane) logoAnimator.ShowSync(largeLogo) Else logoAnimator.Hide(largeLogo) slidePane.Visible = False slidePane.Width = 38 panelAnimator.ShowSync(slidePane) End If End Sub
You can convert your code here
- This reply was modified 6 years, 3 months ago by Amos Chepchieng.
Hello Sadranyi, we are happy to inform you that the issue has been fixed on the latest build. Find the Bunifu.UI.WinForms.BunifuTextbox.dll and import and it will sort out all the mentioned missing properties.
in reply to: How to use Tab in Bunifu 1.5.3 #13892Thank you ZZ9 for replying to this.
Hi, BunifuClasses is deprecated, you can use BunifuColorTransition instead.
in reply to: Need transparent tabControl #13608It is advisable you use a solid color on your controls – if you mind memory usage. But for your design you can use a color that matches the background. Thank you.
Please use BunifuMaterialtextbox or BunifuMetroTextbox since BunifuTextbox has few properties but we hope to add more in later versions. PasswordChar is implemented also on the two. MaxLength will be added in following updates. For Backcolor = transparent, I would suggest you use the same color with background.
in reply to: How to use Tabs #13496Hi, what you need to do is create a custom user control and add your controls and functionality, rebuild your project the go back to the main form and add your control in the space, I would advice using a panel to hold the many user controls you created so you can switch between them : (BringToFront/SendToBack). That’s all. Cheers.
in reply to: Bunifu Transition – Animated Sliding Panel. #12942Hi, please make use of right to left property like in the . Thank you.
in reply to: Resize Transition #10125Thanks for the suggestion. We will consider adding that.
in reply to: system.IO.fileloadexception error #9583Animator was changed to BunifuTransition, confirm if you you are reffering to an old code. Thank you.
in reply to: system.IO.fileloadexception error #9474Hi you can try removing the dependencies and re-add BunifuDLL. Let us know how it goes.
-
AuthorPosts