question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Hi,

I try to use mixed types: https://www.chartjs.org/docs/latest/charts/mixed.html

But the ‘type’ value is dominant at a higher level;

var chart = new Chart(ctx, {
        type: "candlestick",
        data: {
            datasets: [{
                type: "candlestick",
                label: marketName,
                data: candleData
            }, {
                type: "line",
                label: supportLevel,
                data: lineData
            }
        }
    }
);

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:3
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
CupcakeThiefcommented, May 22, 2021

Can’t do that, as it’s all in C#/Blazor, would be more confusing than helpful.

Instead I’ve twiddled the sample page, see pull request #97 which adds a line for close prices.

1reaction
CupcakeThiefcommented, May 22, 2021

NB there’s quite a big gotcha with financial plugin; parsing for datetime values is disabled by default, for performance. Make sure you convert x values to epoch timestamps, e.g. as per demo page

x: luxon.DateTime.fromRFC2822(dateStr)
Read more comments on GitHub >

github_iconTop Results From Across the Web

Mixed Types | Flow
In general, programs have several different categories of types: A single type: Here the input value can only be a number . ......
Read more >
PHP 8.0: New mixed pseudo type
mixed is a pseudo type added in PHP 8 that conveys the type of the parameter/return/property can be of any type. mixed type...
Read more >
Q&A: How to create an array with mixed types in Swift?
How to create an array with mixed types in Swift? ... Arrays that contain instances of multiple types are often referred to as...
Read more >
mixed-types-num: Alternative Prelude with numeric and logic ...
mixed -types-num. This package provides a version of Prelude where unary and binary operations such as not , + , == have their...
Read more >
Columns have mixed types. Specify dtype option on import or ...
In this blog post I give three solutions to solve the "DtypeWarning: Columns have mixed types" warning message.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found