Forum Replies Created

Viewing 15 posts - 1 through 15 (of 51 total)
  • Author
    Posts
  • Amos Chepchieng
    Keymaster
    Post count: 51

    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);
    Amos Chepchieng
    Keymaster
    Post count: 51

    Hello, 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/e9hfII

    Amos Chepchieng
    Keymaster
    Post count: 51

    Hello, we recommend using the new BunifuTextBox other than the old BunifuMaterialTextbox. Check and hope that solves your problem.

    Amos Chepchieng
    Keymaster
    Post count: 51

    Hello 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.

    Amos Chepchieng
    Keymaster
    Post count: 51

    Hello 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

    Amos Chepchieng
    Keymaster
    Post count: 51

    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.

    Amos Chepchieng
    Keymaster
    Post count: 51

    Thank you ZZ9 for replying to this.

    Amos Chepchieng
    Keymaster
    Post count: 51

    Hi, BunifuClasses is deprecated, you can use BunifuColorTransition instead.

    Amos Chepchieng
    Keymaster
    Post count: 51

    It 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.

    Amos Chepchieng
    Keymaster
    Post count: 51

    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.

    Amos Chepchieng
    Keymaster
    Post count: 51
    in reply to: How to use Tabs #13496

    Hi, 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.

    Amos Chepchieng
    Keymaster
    Post count: 51

    Hi, please make use of right to left property like in the Image. Thank you.

    Amos Chepchieng
    Keymaster
    Post count: 51
    in reply to: Resize Transition #10125

    Thanks for the suggestion. We will consider adding that.

    Amos Chepchieng
    Keymaster
    Post count: 51

    Animator was changed to BunifuTransition, confirm if you you are reffering to an old code. Thank you.

    Amos Chepchieng
    Keymaster
    Post count: 51

    Hi you can try removing the dependencies and re-add BunifuDLL. Let us know how it goes.

Viewing 15 posts - 1 through 15 (of 51 total)