Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tooltip background size and layers are broken #1154

Closed
kojima-imamura opened this issue Aug 4, 2023 · 1 comment
Closed

Tooltip background size and layers are broken #1154

kojima-imamura opened this issue Aug 4, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@kojima-imamura
Copy link

Version in which the problem occurred
--> beta.911

If you use "tooltip", the display will collapse.
Occurs when the first data has many digits and the second and subsequent names are long.
Also, the protruding "tooltip" overlaps the "legend".

image
image

.\LiveCharts2-master\samples\WPFSample\Test\ChangeSeriesInstance\View.xaml
Edit Code

        <lvc:CartesianChart
            Series="{Binding Series}"
            XAxes="{Binding XAxes}"
            YAxes="{Binding YAxes}">
        </lvc:CartesianChart>

->

        <lvc:CartesianChart
            Series="{Binding Series}"
            XAxes="{Binding XAxes}"
            YAxes="{Binding YAxes}"
            LegendPosition="Right">
        </lvc:CartesianChart>

.\LiveCharts2-master\samples\ViewModelsSamples\Test\ChangeSeriesInstance\ViewModel.cs
Edit Code

        new LineSeries<double>
        {
            Values = new ObservableCollection<double> { 200, 558, 458, 249, 457, 339, 587 },
        },
        new LineSeries<double>
        {
            Values = new ObservableCollection<double> { 210, 400, 300, 350, 219, 323, 618 },
        },

->

        new LineSeries<double>
        {  
            Values = new ObservableCollection<double> { 200, 558, 458, 249, 457, 339000, 150000 },
        },
        new LineSeries<double>
        {
            Name = "NameName",
            Values = new ObservableCollection<double> { 210, 400, 300, 350, 219, 323, 618 },
        },
@kojima-imamura kojima-imamura changed the title Tooltip background size, layer design collapses Tooltip background size and layers are broken Aug 4, 2023
beto-rodriguez added a commit that referenced this issue Aug 15, 2023
@beto-rodriguez beto-rodriguez added the bug Something isn't working label Aug 15, 2023
@beto-rodriguez
Copy link
Owner

Fixed in beta.920, thanks for the report!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants