Giter VIP home page Giter VIP logo

Comments (6)

HanSolo avatar HanSolo commented on May 17, 2024

Would be more helpful with a little bit of test code that reproduces your problem...

from tilesfx.

seriouslyEnter avatar seriouslyEnter commented on May 17, 2024

Here, as an example, I changed the colors whereever possible (it's offered).
The text around the Radar "one, two, three, four" is the only part that doesn't change.
It stays grey!

private void radarColorTest() {
        ChartData a = new ChartData("one", 1);
        ChartData b = new ChartData("two", 2);
        ChartData c = new ChartData("three", 3);
        ChartData d = new ChartData("four", 4, Color.RED, Color.RED, Color.RED, Instant.MAX, true, 0);
        

        Tile radarChartTile = TileBuilder.create().skinType(Tile.SkinType.RADAR_CHART)
                .prefSize(500, 500)
                .minValue(0)
                .maxValue(5)
                .title("RadarChart Polygon")
                .unit("Radar")
                .radarChartMode(RadarChart.Mode.POLYGON)
                .text("Test")
                .chartData(a, b, c, d)
                .tooltipText("")
                .animated(true)
                .backgroundColor(Color.rgb(255, 255, 255))
                .gradientStops(
                        new Stop(0.00000, Color.TRANSPARENT),
                        new Stop(0.00001, Color.rgb(0, 160, 215)),
                        new Stop(0.25, Color.rgb(0, 120, 155)),
                        new Stop(0.5, Color.rgb(0, 110, 110)),
                        new Stop(0.75, Color.rgb(85, 140, 90)),
                        new Stop(1.0, Color.rgb(175, 190, 50)))
                .chartGridColor(Color.rgb(0, 60, 90))
                .textColor(Color.rgb(0, 60, 90))
                .titleColor(Color.rgb(0, 60, 90))
                .activeColor(Color.CORAL)
                .alarmColor(Color.CORAL)
                .backgroundColor(Color.CORAL)
                .barBackgroundColor(Color.CORAL)
                .barBorderColor(Color.CORAL)
                .barColor(Color.CORAL)
                .borderColor(Color.CORAL)
                .chartGridColor(Color.CORAL)
                .dateColor(Color.CORAL)
                .descriptionColor(Color.CORAL)
                .foregroundBaseColor(Color.CORAL)
                .foregroundColor(Color.CORAL)
                .hourColor(Color.CORAL)
                .knobColor(Color.CORAL)
                .minuteColor(Color.CORAL)
                .minuteTickMarkColor(Color.CORAL)
                .needleBorderColor(Color.CORAL)
                .needleColor(Color.CORAL)
                .notificationBackgroundColor(Color.CORAL)
                .notificationForegroundColor(Color.CORAL)
                .secondColor(Color.CORAL)
                .sunburstAutoTextColor(true)
                .sunburstBackgroundColor(Color.CORAL)
                .sunburstTextColor(Color.CORAL)
                .sunburstUseChartDataTextColor(true)
                .textColor(Color.CORAL)
                .thresholdColor(Color.CORAL)
                .titleColor(Color.CORAL)
                .trackColor(Tile.TileColor.BLUE)
                .unitColor(Color.CORAL)
                .valueColor(Color.CORAL)
                .build();

        ap.getChildren().add(radarChartTile);
    }

from tilesfx.

HanSolo avatar HanSolo commented on May 17, 2024

Ok got it, so with the next release the text color will be taken from the ChartData textColor.

from tilesfx.

HanSolo avatar HanSolo commented on May 17, 2024

Fixed with commit 5dcf409

from tilesfx.

seriouslyEnter avatar seriouslyEnter commented on May 17, 2024

Thank you

Is it considered as spam to write "thank you" after an issue is closed on github?

from tilesfx.

HanSolo avatar HanSolo commented on May 17, 2024

my pleasure...and no it’s no spam 😊

from tilesfx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.